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,19 +88,19 @@ 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 {
|
||||
&:empty {
|
||||
border: unset;
|
||||
padding: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_WysiwygComposer_Editor_content_placeholder::before {
|
||||
content: var(--placeholder);
|
||||
|
|
Loading…
Reference in a new issue