Skip to content

Commit 2f56fcc

Browse files
committed
One more fix to the cell toolbar position
1 parent 15fe46b commit 2f56fcc

File tree

1 file changed

+9
-0
lines changed
  • packages/notebook-extension/style

1 file changed

+9
-0
lines changed

packages/notebook-extension/style/base.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ body[data-notebook='notebooks']
8484
top: calc(2 * var(--jp-notebook-padding));
8585
}
8686

87+
/** first code cell on mobile
88+
(keep the selector above the media query)
89+
*/
90+
body[data-notebook='notebooks']
91+
.jp-CodeCell[data-windowed-list-index='0']
92+
.jp-cell-toolbar {
93+
top: unset;
94+
}
95+
8796
@media only screen and (max-width: 760px) {
8897
/* first code cell on mobile */
8998
body[data-notebook='notebooks']

0 commit comments

Comments
 (0)