Update CSS

This commit is contained in:
2023-06-23 09:21:40 +08:00
parent 978e05db8e
commit 3b93339fce
2 changed files with 7 additions and 2 deletions

View File

@@ -101,6 +101,7 @@ export default class SettingsText<T extends keyof TextType>
let cn = "text";
if (this.props.helpertext) cn += " helper";
if (this.props.outlined) cn += " outlined";
if (this.props.label) cn += " label";
return (
<div class={cn} id={id}>
<label>{this.props.description}</label>

View File

@@ -45,6 +45,10 @@
margin-top: 14px;
}
.settings div.text.helper.outlined label {
margin-top: 7px;
}
.settings div.text.outlined .mdc-text-field label {
top: 14px;
}
@@ -53,6 +57,6 @@
top: 22px;
}
.settings div.text.outlined.helper {
margin-top: 5px;
.settings div.text.outlined.label {
margin-top: 6px;
}