mirror of
https://github.com/def-peter/obsidian-aera-theme.git
synced 2026-07-22 05:00:27 +00:00
fix: contain CM6 code line scrolling
This commit is contained in:
parent
13b81bf849
commit
1e9cf02e4e
3 changed files with 12 additions and 6 deletions
|
|
@ -41,6 +41,8 @@ body {
|
|||
white-space: pre;
|
||||
word-break: normal;
|
||||
overflow-wrap: normal;
|
||||
width: max-content;
|
||||
min-width: 100%;
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -237,8 +237,10 @@ test("keeps CM6 fenced code lines on one horizontal line", () => {
|
|||
["white-space", "pre"],
|
||||
["word-break", "normal"],
|
||||
["overflow-wrap", "normal"],
|
||||
["width", "max-content"],
|
||||
["min-width", "100%"],
|
||||
["width", "auto"],
|
||||
["min-width", "0"],
|
||||
["overflow-x", "auto"],
|
||||
["overflow-y", "hidden"],
|
||||
],
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -297,8 +297,10 @@ body {
|
|||
white-space: pre;
|
||||
word-break: normal;
|
||||
overflow-wrap: normal;
|
||||
width: max-content;
|
||||
min-width: 100%;
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
|
|||
Loading…
Reference in a new issue