-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Remove redundant rule. #10021
Remove redundant rule. #10021
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,11 @@ | |
left: 0; | ||
right: 0; | ||
|
||
// mobile edgecase for toolbar | ||
// Stick the mobile toolbar way to the top, because the adminbar is not fixed either. | ||
top: 0; | ||
position: sticky; | ||
|
||
// on mobile the main content area has to scroll | ||
// otherwise you can invoke the overscroll bounce on the non-scrolling container, causing (ノಠ益ಠ)ノ彡┻━┻ | ||
// On mobile the main content area has to scroll, otherwise you can invoke the overscroll bounce on the non-scrolling container. | ||
@include break-small { | ||
position: fixed; | ||
padding: $grid-size; | ||
|
@@ -52,14 +51,12 @@ | |
} | ||
|
||
.edit-post-header .components-button { | ||
border-radius: $radius-round-rectangle; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm guessing this is the actual redundant rule and the rest of the comment tweaks happened just because you were already tidying things up? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct. A good friend once suggested how these comments can look their best. |
||
|
||
// header toggle buttons | ||
// Header toggle buttons. | ||
&.is-toggled { | ||
color: $white; | ||
} | ||
|
||
// put the gray background on a separate layer, so as to match the size of the publish button (34px) | ||
// Put the gray background on a separate layer, so as to match the size of the publish button (34px). | ||
&.is-toggled::before { | ||
content: ""; | ||
border-radius: $radius-round-rectangle; | ||
|
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.
What does "way to the top" mean? I think it's a turn of phrase but I don't really understand 🤷♂️
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 I think "adminbar" should be "admin bar".
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.
Good catches, both of them.