diff --git a/components/SettingsText.tsx b/components/SettingsText.tsx index b63c086..c0308fa 100644 --- a/components/SettingsText.tsx +++ b/components/SettingsText.tsx @@ -101,6 +101,7 @@ export default class SettingsText let cn = "text"; if (this.props.helpertext) cn += " helper"; if (this.props.outlined) cn += " outlined"; + if (this.props.label) cn += " label"; return (
diff --git a/static/common.css b/static/common.css index ea0d681..bd7d229 100644 --- a/static/common.css +++ b/static/common.css @@ -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; }