mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-25 21:46:53 +08:00
Update CSS
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user