-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add stylistic tweaks to the alt show page template #36
Conversation
background: linear-gradient(90deg, rgba(255, 255, 255, 0),rgba(255, 255, 255,1)); | ||
position: absolute; | ||
right: 0; | ||
top: 5px; |
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.
Why isn't this height: 100% and top: 0?
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 just made it taller instead.
.flag { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; |
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.
Can you use the mixin instead of raw values? The mixin provides for crossbrowser compat
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.
Sorry, assumed our pre-processor was doing that. Changing!
&:after { | ||
content: " "; | ||
width: 25px; | ||
height: 40px; |
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 see you changed it, but specifically shouldn't this be 100% so that if the height of the list changes (maybe we use a bigger font size), this thing will adjust accordingly?
.flag { | ||
@include display-flex; | ||
@include align-items(center); | ||
@include justify-content(center); |
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.
use the flexbox
mixin like so:
@include flexbox((
display: flex,
align-items: center,
justify-content: center
));
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.
Sorry, I saw it used like I put it in other places. Will change!
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.
👍
No description provided.