mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
Fix block code styling in rich text editor (#10246)
This commit is contained in:
parent
2c7dfb5401
commit
95223c87fe
1 changed files with 5 additions and 5 deletions
|
@ -88,17 +88,17 @@ limitations under the License.
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code:not(pre *) {
|
||||||
font-family: $monospace-font-family !important;
|
font-family: $monospace-font-family !important;
|
||||||
background-color: $inlinecode-background-color;
|
background-color: $inlinecode-background-color;
|
||||||
border: 1px solid $inlinecode-border-color;
|
border: 1px solid $inlinecode-border-color;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: $spacing-2;
|
padding: $spacing-2;
|
||||||
}
|
|
||||||
|
|
||||||
code:empty {
|
&:empty {
|
||||||
border: unset;
|
border: unset;
|
||||||
padding: unset;
|
padding: unset;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue