-
Notifications
You must be signed in to change notification settings - Fork 96
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
style: align headers icons #975
Conversation
Thanks! |
b6e43f6
to
aa6662f
Compare
Thanks @ofirc77 !
|
aa6662f
to
b75caaa
Compare
Yes. It passed the lint check and I increased the max-width to 750 to make sure also in horizontal it will look good as well. I played with it a little bit it seems that in some cases it will not function as expected. |
@ofirc77 could you please make sure you have pushed your recent changes? |
b75caaa
to
c1fed48
Compare
@NoamGaash updated the PR according to the project linter. It seems all tests are passing now |
src/layout/header/Header.css
Outdated
@@ -9,6 +9,16 @@ | |||
background: #303230; | |||
} | |||
|
|||
@media (width <= 750px) { |
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.
great, thanks. let's just be consistent with the mobile width
@media only screen and (width >= 768px) { |
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.
Done
c1ab2b9
to
ff727b9
Compare
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.
Thank you very much! 🚌 💯 🥇
Hi, this fix is for the following bug -
#974
It seems that in the header.css file the '.main-header' template with the field "justify-content" modified the behavior of the headers icons not to be aligned as expected. I change it to "flex-end" that verify that in each language we are using the headers icons bar will be at the end of line which means the other side as expected. Below there is an example of before and after the change.
Before change:
After change: