From d29591f3fa3b7bc1353c0b47a2d9ed45bb9dbaad Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 18 Nov 2022 20:39:34 -0800 Subject: [PATCH] Update global style of input fields. Closes #2357 --- web/styles/ant-overrides.scss | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/web/styles/ant-overrides.scss b/web/styles/ant-overrides.scss index 84a87c2cd..2c3cb21d2 100644 --- a/web/styles/ant-overrides.scss +++ b/web/styles/ant-overrides.scss @@ -22,16 +22,16 @@ BUTTONS } } -.ant-btn-default { +.ant-btn-default { color: currentColor; border-width: 2px; border-color: transparent; - border-radius: .15rem; - background-color: rgba(0,0,0,.1); + border-radius: 0.15rem; + background-color: rgba(0, 0, 0, 0.1); &:hover, &:focus { color: currentColor; - border-color: rgba(0,0,0,.55); + border-color: rgba(0, 0, 0, 0.55); background-color: var(--theme-color-components-secondary-button-background); } } @@ -128,10 +128,14 @@ DROPDOWN } } +.ant-input-affix-wrapper { + padding: 2px 5px; + background-color: var(--theme-color-components-form-field-background); +} + .ant-input { background-color: var(--theme-color-components-form-field-background); color: var(--theme-color-components-form-field-text); - border-color: var(--theme-color-components-form-field-border); &::placeholder { color: var(--theme-color-components-form-field-placeholder); } @@ -172,7 +176,7 @@ DROPDOWN } .ant-tabs-content { height: 100% !important; - overflow: scroll; + overflow: auto; .ant-tabs-tabpane-active { height: 100%; }