Skip to content

Commit f4322d2

Browse files
author
Amelia Wattenberger
committed
markdown block - fix scrolling issue
1 parent f5fab66 commit f4322d2

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

blocks/file-blocks/markdown-edit/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pre,
100100
.cm-code {
101101
background: #f6f8fa;
102102
padding: 0.6em 1em !important;
103-
margin: -0.9em 0 !important;
103+
margin: -0.9em -1em !important;
104104
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
105105
Liberation Mono, monospace;
106106
}

blocks/file-blocks/markdown-edit/theme.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ export const highlightStyle = HighlightStyle.define([
141141
tag: t.monospace,
142142
fontFamily:
143143
"ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace",
144-
fontSize: "1.1em",
145144
padding: "0.2em 0.4em",
146145
backgroundColor: colors.activelineBg,
147146
},

0 commit comments

Comments
 (0)