Skip to content

Commit

Permalink
Move back to height: 100% to size the scroller
Browse files Browse the repository at this point in the history
Reverts 446e8bb

FIX: Fix an issue where the content and gutters in a fixed-height editor could be
smaller than the editor height.

See https://discuss.codemirror.net/t/safari-not-setting-focus-on-wrapper-scroller-mouse-click/3131
  • Loading branch information
marijnh committed Apr 26, 2021
1 parent 4da5b48 commit f1369d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme.ts
Expand Up @@ -45,7 +45,7 @@ export const baseTheme = buildTheme("." + baseThemeID, {
alignItems: "flex-start !important",
fontFamily: "monospace",
lineHeight: 1.4,
flexGrow: 2,
height: "100%",
overflowX: "auto",
position: "relative",
zIndex: 0
Expand Down

0 comments on commit f1369d4

Please sign in to comment.