mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 08:20:39 +00:00
QFIX: code block styling fixes (#8289)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
parent
09f69b8555
commit
990dcc3a2f
@ -421,7 +421,7 @@ table.proseTable {
|
|||||||
background-color: var(--theme-button-default);
|
background-color: var(--theme-button-default);
|
||||||
border: 1px solid var(--theme-button-border);
|
border: 1px solid var(--theme-button-border);
|
||||||
border-radius: .25rem;
|
border-radius: .25rem;
|
||||||
padding: .5rem;
|
padding: 0.25rem .5rem;
|
||||||
user-select: text;
|
user-select: text;
|
||||||
cursor: auto;
|
cursor: auto;
|
||||||
|
|
||||||
@ -431,7 +431,8 @@ table.proseTable {
|
|||||||
white-space: pre;
|
white-space: pre;
|
||||||
word-wrap: nowrap;
|
word-wrap: nowrap;
|
||||||
scrollbar-width: auto;
|
scrollbar-width: auto;
|
||||||
font-size: 0.875rem;
|
font-size: .8125rem;
|
||||||
|
font-family: var(--mono-font);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -518,7 +519,7 @@ pre.proseCodeBlock>pre.proseCode {
|
|||||||
|
|
||||||
>code {
|
>code {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.75rem;
|
padding: 0.25rem 0.5rem;
|
||||||
user-select: text;
|
user-select: text;
|
||||||
font-family: var(--mono-font);
|
font-family: var(--mono-font);
|
||||||
color: var(--theme-content-color);
|
color: var(--theme-content-color);
|
||||||
@ -527,7 +528,7 @@ pre.proseCodeBlock>pre.proseCode {
|
|||||||
|
|
||||||
background: var(--theme-button-default);
|
background: var(--theme-button-default);
|
||||||
|
|
||||||
font-size: 0.875rem;
|
font-size: .8125rem;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
Loading…
Reference in New Issue
Block a user