Skip to content

Commit

Permalink
markdown block - fix scrolling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Wattenberger committed Nov 18, 2022
1 parent f5fab66 commit f4322d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/file-blocks/markdown-edit/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pre,
.cm-code {
background: #f6f8fa;
padding: 0.6em 1em !important;
margin: -0.9em 0 !important;
margin: -0.9em -1em !important;
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
Liberation Mono, monospace;
}
Expand Down
1 change: 0 additions & 1 deletion blocks/file-blocks/markdown-edit/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export const highlightStyle = HighlightStyle.define([
tag: t.monospace,
fontFamily:
"ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace",
fontSize: "1.1em",
padding: "0.2em 0.4em",
backgroundColor: colors.activelineBg,
},
Expand Down

0 comments on commit f4322d2

Please sign in to comment.