Skip to content

Commit

Permalink
Remove style that accidentally hides "Code editor" option
Browse files Browse the repository at this point in the history
Gutenberg hides the "View" menu for small screens now: WordPress/gutenberg@f4300ff#diff-84d6cf5cfecefd4e711bd9d50e8fa5f6R14-R18. It's is causing our selector to miss the target and hide the "Code editor" item instead. Thankfully, since what we want is handled natively now we can safely remove our patch.
  • Loading branch information
WunderBart committed Sep 25, 2020
1 parent ab9c179 commit 573effd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions modules/calypsoify/style-gutenberg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
/* CORE UI */
@import 'gutenberg-styles/button.scss';

/* Hides the Fullscreen option from the View modes */
.edit-post-more-menu__content .components-menu-group:first-child .components-menu-item__button:last-child {
display: none;
}

.edit-post-sidebar__panel-tab {
&.is-active {
border-color: $color-primary;
Expand Down Expand Up @@ -136,4 +131,4 @@ a {

.revisions-tooltip {
transform: translateY(-36px);
}
}

0 comments on commit 573effd

Please sign in to comment.