forked from mystiq/hydrogen-web
make <code> styling like element
This commit is contained in:
parent
2159b67ba4
commit
47c1737371
1 changed files with 10 additions and 1 deletions
|
@ -214,9 +214,18 @@ only loads when the top comes into view*/
|
||||||
/* don't stretch height as it is a spacer, just in case it doesn't match with image height */
|
/* don't stretch height as it is a spacer, just in case it doesn't match with image height */
|
||||||
align-self: start;
|
align-self: start;
|
||||||
}
|
}
|
||||||
|
.Timeline_messageBody code, .Timeline_messageBody pre {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Timeline_messageBody code {
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: .2em .3em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.Timeline_messageBody pre {
|
.Timeline_messageBody pre {
|
||||||
background-color: #f7f7f7;
|
|
||||||
border: 1px solid rgb(229, 229, 229);
|
border: 1px solid rgb(229, 229, 229);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue