mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-18 08:11:41 +01:00
make <code> styling like element
This commit is contained in:
parent
2159b67ba4
commit
47c1737371
@ -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 */
|
||||
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 {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid rgb(229, 229, 229);
|
||||
padding: 10px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user