mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed inline code styles and increase line heights in lists to accommodate code
This commit is contained in:
parent
83ba6638a1
commit
614b26fff6
@ -21,6 +21,8 @@ code {
|
|||||||
background-color: $code-tag-bg;
|
background-color: $code-tag-bg;
|
||||||
border: 1px solid darken($code-tag-bg, 15%);
|
border: 1px solid darken($code-tag-bg, 15%);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
padding: 2px 5px;
|
||||||
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
code.code--small {
|
code.code--small {
|
||||||
@ -29,10 +31,6 @@ code.code--small {
|
|||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.code--line {
|
|
||||||
line-height: 1.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Blocks of code
|
// Blocks of code
|
||||||
pre {
|
pre {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -3,4 +3,5 @@
|
|||||||
ul {
|
ul {
|
||||||
margin: 0 0 $spacer $spacer * 1.5;
|
margin: 0 0 $spacer $spacer * 1.5;
|
||||||
}
|
}
|
||||||
|
li {line-height: 2;}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user