Skip to content

Commit

Permalink
Hide post type label on small screen sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Sep 16, 2024
1 parent b01b483 commit 6f9ae9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/editor/src/components/document-bar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

&.has-back-button {
@media screen and (min-width: #{ ($break-medium) }) and (max-width: $break-large) {
@media screen and (min-width: #{ ($break-medium) }) and (max-width: #{ ($break-large) }) {
.editor-document-bar__post-type-label {
display: none;
}
Expand Down Expand Up @@ -77,6 +77,10 @@
flex: 0;
color: $gray-800;
padding-left: $grid-unit-05;

@media screen and (max-width: #{ ($break-small) }) {
display: none;
}
}

.editor-document-bar__shortcut {
Expand Down

0 comments on commit 6f9ae9a

Please sign in to comment.