subtle style improvements

This commit is contained in:
Reorx 2023-02-03 01:15:49 +08:00
parent ac49be1c94
commit 0af19b36ac
1 changed files with 13 additions and 1 deletions

View File

@ -73,6 +73,7 @@
}
input[type=text],
input[type=email],
select,
textarea {
border: 1px solid #888;
border-radius: 2px;
@ -123,10 +124,14 @@
}
.je-form-input-label {
display: block;
// only label in user added property should be inline-block
display: inline-block;
margin-bottom: calc(var(--gap) / 2);
font-weight: 500;
}
.form-control > .je-form-input-label {
display: block;
}
.je-form-input-description {
margin: 0;
font-size: 12px;
@ -182,4 +187,11 @@
max-height: 500px;
resize: vertical;
}
.je-edit-json--textarea {
width: 300px;
height: 400px;
font-family: "Lucida Sans Typewriter", "Lucida Console", monaco, "Bitstream Vera Sans Mono", monospace;
font-size: 12px;
}
}