fix: updates code field css
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user