unify padding of code blocks (#14590)
This commit is contained in:
parent
37ae9ccf2e
commit
b75af7b2aa
1 changed files with 5 additions and 6 deletions
|
|
@ -23,6 +23,11 @@ blockquote pre.highlight {
|
|||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overflow-wrap: initial;
|
||||
padding: var(--su-2);
|
||||
|
||||
@media (min-width: $breakpoint-m) {
|
||||
padding: var(--su-6);
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 100%;
|
||||
|
|
@ -36,12 +41,6 @@ div.highlight {
|
|||
// this a way to separate scroll of long code & icons in panel
|
||||
.highlight {
|
||||
overflow: auto;
|
||||
|
||||
padding: var(--su-2);
|
||||
|
||||
@media (min-width: $breakpoint-m) {
|
||||
padding: var(--su-6);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue