Skip to content

Commit c362fa2

Browse files
committed
Update: Body selectors with filters
Added data-format body selectors to the css
1 parent dd74a35 commit c362fa2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/application/style/base.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ body[data-notebook='edit'] #spacer-widget-bottom {
8080
box-shadow: var(--jp-elevation-z4);
8181
}
8282

83-
#main-panel .jp-TreePanel {
83+
body[data-format='desktop'] #main-panel .jp-TreePanel {
8484
padding: 0rem 2rem;
8585
}
8686

87-
@media screen and (max-width: 760px) {
88-
#main-panel .jp-TreePanel {
89-
padding: 0rem;
87+
@media only screen and (max-width: 760px) {
88+
body[data-format='mobile'] #main-panel .jp-TreePanel {
89+
padding: 0rem 0rem;
9090
}
9191
}
9292

0 commit comments

Comments
 (0)