mirror of https://github.com/vector-im/riot-web
Fix block code styling in rich text editor (#10246)
parent
2c7dfb5401
commit
95223c87fe
|
@ -88,17 +88,17 @@ limitations under the License.
|
|||
border-radius: 2px;
|
||||
}
|
||||
|
||||
code {
|
||||
code:not(pre *) {
|
||||
font-family: $monospace-font-family !important;
|
||||
background-color: $inlinecode-background-color;
|
||||
border: 1px solid $inlinecode-border-color;
|
||||
border-radius: 4px;
|
||||
padding: $spacing-2;
|
||||
}
|
||||
|
||||
code:empty {
|
||||
border: unset;
|
||||
padding: unset;
|
||||
&:empty {
|
||||
border: unset;
|
||||
padding: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue