Skip to content

Commit

Permalink
Remove redundant rule. (#10021)
Browse files Browse the repository at this point in the history
* Remove redundant rule.

This addresses an issue reported in #9588 (comment).

It also polishes the comments a bit.

* Address feedback.
  • Loading branch information
jasmussen committed Sep 19, 2018
1 parent bc5befd commit 07368fc
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 toolbar to the top, because the admin bar is not fixed on mobile..
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 07368fc

Please sign in to comment.