diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-01 19:48:06 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-01 19:48:06 +0530 |
commit | fd5ed8aa4f159c8e1c0476915432e0a97a239a91 (patch) | |
tree | 42d3563472d9032c27f4e3a87dff85ec19362a94 /src/components/editors/scss | |
parent | e4dbf70d561aa3ed79379ffdb98661cb3f215fe9 (diff) |
fixed warning 'component changing controlled input to uncontrolled' while editing shipping addresses
Diffstat (limited to 'src/components/editors/scss')
-rw-r--r-- | src/components/editors/scss/_colors.scss | 14 | ||||
-rw-r--r-- | src/components/editors/scss/client-editor.scss | 12 |
2 files changed, 20 insertions, 6 deletions
diff --git a/src/components/editors/scss/_colors.scss b/src/components/editors/scss/_colors.scss index 994dcf7..bf47f75 100644 --- a/src/components/editors/scss/_colors.scss +++ b/src/components/editors/scss/_colors.scss @@ -15,12 +15,14 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -$primaryAccentColor: #bd93f9; -$secondaryAccentColor: #d0afff; +@import "../../../colors"; -$fgColor: white; -$fgColorAlt: black; +$primaryAccentColor: $primaryAccentColor; +$secondaryAccentColor: $secondaryAccentColor; -$inputBackgroundColor: #00000000; +$fgColor: $fgColor; +$fgColorAlt: $black; -$warningColor: #ed4683; +$inputBackgroundColor: $backgroundColor; + +$warningColor: $warningColor; diff --git a/src/components/editors/scss/client-editor.scss b/src/components/editors/scss/client-editor.scss index 30919fd..2a2bfef 100644 --- a/src/components/editors/scss/client-editor.scss +++ b/src/components/editors/scss/client-editor.scss @@ -16,6 +16,7 @@ */ @import "editor"; +@import "../../../colors"; .client-editor { max-width: 90%; @@ -33,3 +34,14 @@ } } } + +.floating-window { + overflow: scroll; + max-height: 100%; + .buttons { + position: fixed; + bottom: 1rem; + background-color: $backgroundColor; + padding: 1rem auto; + } +} |