-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popup Restyling #191
Popup Restyling #191
Conversation
Fixes: * Added max height of popup, so scrollbar appears when content exceeds max * Added URL wraparound (no overflow) * Slightly rearranged components for better visual appeal (e.g. made recording separate section from slides)
pages/archive.tsx
Outdated
@@ -156,7 +156,7 @@ const PopUp = ({ event, close }: { event: CyaneaEvent; close: () => void }) => { | |||
<div className={popUpStyle["date"]}>{formatEventDate(event)}</div> | |||
<div className={popUpStyle["location"]}>{event.location}</div> | |||
<div className={styles.tags}> | |||
<span>Tags: </span> | |||
<div>Tags:</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason this isn't a <div><span>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really. Just changed it to a <div><span>
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think @Aplet123 was trying to say that i should be <div className=...><span>
rather than changing the inner <div>
to a <div>
+ <span>
, @stewartkwokca.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, maybe I'm confused but I don't think the span ever had any classes before? I just wanted to move it onto its own line to be consistent with everything else. Which classes were I supposed to include?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will work on cards a little more first
Fix: popup cards
Closes #180
Fixed horizontal URL overflow (removed horizontal scroll bars)
Added vertical scrollbar for long cards
Fixed extreme graphic cutoffs (now fit to card)
Small component rearrangement