mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-06 04:54:29 +08:00
Improve list styling in hover docs
This commit is contained in:
parent
a10bbaa4c7
commit
7c01177a47
1 changed files with 34 additions and 0 deletions
|
@ -365,6 +365,40 @@ function buildEditorTheme(colors, { dark }) {
|
|||
fontWeight: "600",
|
||||
},
|
||||
|
||||
"& ul": {
|
||||
marginTop: "1rem",
|
||||
marginBottom: "1rem",
|
||||
marginLeft: "2rem",
|
||||
listStylePosition: "outside",
|
||||
listStyleType: "disc",
|
||||
|
||||
"& ul": {
|
||||
listStyleType: "circle",
|
||||
|
||||
"& ul": {
|
||||
listStyleType: "square",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
"& li": {
|
||||
marginTop: "0.25rem",
|
||||
marginBottom: "0.25rem",
|
||||
|
||||
"& > ul, & > ol": {
|
||||
marginTop: "0",
|
||||
marginBottom: "0",
|
||||
},
|
||||
},
|
||||
|
||||
"& ol": {
|
||||
marginTop: "1rem",
|
||||
marginBottom: "1rem",
|
||||
marginLeft: "2rem",
|
||||
listStylePosition: "outside",
|
||||
listStyleType: "decimal",
|
||||
},
|
||||
|
||||
"& code": {
|
||||
background: colors.selectionBackground,
|
||||
borderRadius: "3px",
|
||||
|
|
Loading…
Add table
Reference in a new issue