UX: Improve layout of theme objects setting editor (#26309)

This commit is contained in:
Alan Guo Xiang Tan 2024-03-22 11:36:34 +08:00 committed by GitHub
parent dfc406fdc2
commit 404583298f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 1 deletions

View File

@ -2,12 +2,30 @@
margin-bottom: 1em;
width: 50%;
min-width: 200px;
display: grid;
grid-template-columns: 25% 1fr;
gap: 1em;
.schema-field__label {
word-break: break-all;
}
.schema-field__input:has(input[type="checkbox"]) {
flex-direction: row;
}
.schema-field__input {
display: flex;
flex-direction: column;
align-items: flex-start;
input {
width: 100%;
margin-bottom: 0;
width: 100%;
}
input[type="checkbox"] {
width: auto;
}
.select-kit {
@ -19,6 +37,7 @@
color: var(--primary-medium);
}
}
.schema-field__input-supporting-text {
display: flex;
flex-direction: row;