Skip to content

Commit 30b0e76

Browse files
Ensure that code cells and Markdown cells have the same height (#213)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b1b9fa6 commit 30b0e76

File tree

5 files changed

+6
-1
lines changed

5 files changed

+6
-1
lines changed

style/base.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
--je-round-corners: 12px;
2323
--je-font-family: 'Inter', sans-serif;
2424
--je-dialog-round-corners: 12px;
25+
--je-cell-height: 40px;
2526
--je-toastify-z-index: calc(var(--toastify-z-index) + 2);
2627
--je-document-padding: calc(var(--je-scale) * 51px);
2728
--je-sidebar-width: calc(var(--je-scale) * 110px);
@@ -196,7 +197,11 @@
196197
consistent with code cells */
197198
.jp-MarkdownCell .jp-InputArea,
198199
.jp-RawCell .jp-InputArea {
199-
min-height: 40px;
200+
min-height: var(--je-cell-height);
201+
}
202+
203+
.jp-CodeCell .jp-Cell-inputWrapper {
204+
min-height: var(--je-cell-height);
200205
}
201206

202207
.jp-MarkdownCell .jp-RenderedHTMLCommon,
-17 Bytes
Loading
-18 Bytes
Loading
1 Byte
Loading
6 Bytes
Loading

0 commit comments

Comments
 (0)