-
Notifications
You must be signed in to change notification settings - Fork 82
Mobile UI #27
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
Conversation
Also fixed a lot of other things
FloEdelmann
left a comment
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.
Also, we should hide the text in the logo and search button by giving the elements zero width and using padding-left instead.
public/style.css
Outdated
| } | ||
|
|
||
| header>nav { | ||
| header nav { |
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 change this?
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.
Fixed.
| padding: var(--padding); | ||
| width: var(--icon-size); | ||
| height: var(--icon-size); | ||
| box-sizing: content-box; |
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.
This is the default. Why add it?
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.
It isn't, as this is a button.
public/style.css
Outdated
| background: #5294e2; | ||
| header button:hover { | ||
| background-color: var(--blue-300); | ||
| border-color: transparent; |
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.
Does the button visually "shrink" by that? If so, I'd rather use var(--blue-300) here, too.
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, it doesn't shrink.
| color: inherit; | ||
| header button:active { | ||
| background-color: var(--blue-700); | ||
| border-color: transparent; |
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.
Again
|
Fixed in last commit. |
See #4.
@FloEdelmann Feel free to add points that make the website more responsive.