fix: updates code field css

This commit is contained in:
Jessica Boezwinkle
2022-11-29 16:05:28 +00:00
parent d03f0aef84
commit 3eebd6613f

View File

@@ -1,10 +1,10 @@
@import '../../../../scss/styles.scss';
.field-type.code {
.code-field {
position: relative;
margin-bottom: $baseline;
.input {
&__input {
@include formInput();
height: unset;
}
@@ -71,6 +71,8 @@ pre[class*="language-"] {
font-style: italic;
}
// DARK
html[data-theme=dark] {
:not(pre)>code[class*="language-"],
@@ -163,6 +165,8 @@ html[data-theme=dark] {
}
}
// LIGHT
html[data-theme=light] {
.token.comment,