Skip to content

Commit

Permalink
Remove redundant rule.
Browse files Browse the repository at this point in the history
This addresses an issue reported in #9588 (comment).

It also polishes the comments a bit.
  • Loading branch information
Joen Asmussen committed Sep 19, 2018
1 parent 826395b commit be41112
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions edit-post/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -52,14 +51,12 @@
}

.edit-post-header .components-button {
border-radius: $radius-round-rectangle;

// 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;
Expand Down

0 comments on commit be41112

Please sign in to comment.