mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
UX: Various improvements to JSON Schema editor (#24543)
This commit makes a few improvements to the JSON Schema editor when using dark mode for the UI and fixes a small alignment issue with checkboxes.
This commit is contained in:
parent
75efeb395e
commit
6e4648a2c4
@ -171,6 +171,10 @@
|
||||
.je-tab--top {
|
||||
border: none;
|
||||
padding: 0;
|
||||
color: var(--primary);
|
||||
background: var(
|
||||
--secondary
|
||||
) !important; // important is needed here to override inline styling on the element
|
||||
}
|
||||
}
|
||||
|
||||
@ -243,5 +247,21 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div[data-schematype="boolean"] {
|
||||
label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
input[type="checkbox"] {
|
||||
margin-right: var(--space-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
select option {
|
||||
color: var(--primary);
|
||||
background: var(--secondary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user