diff options
author | 2021-02-20 03:50:58 +0300 | |
---|---|---|
committer | 2021-02-20 03:53:45 +0300 | |
commit | 0278c8f567bfc50fcb65aaf6afe7cd82c5031023 (patch) | |
tree | a20d335623dc8b9e9038de1d5dc03e481039ecd8 /src/commonStyles.tsx | |
parent | Removes Path From Auth (diff) | |
parent | Adds Missing Fields To Test Models (diff) |
Merge branch 'main' into discord-oauth
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# package.json
# src/commonStyles.tsx
# src/pages/FormPage.tsx
Diffstat (limited to 'src/commonStyles.tsx')
-rw-r--r-- | src/commonStyles.tsx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/commonStyles.tsx b/src/commonStyles.tsx index eb3e319..bfae17e 100644 --- a/src/commonStyles.tsx +++ b/src/commonStyles.tsx @@ -53,6 +53,7 @@ const textInputs = css` const submitStyles = css` text-align: right; + white-space: nowrap; button:disabled { background-color: ${colors.greyple}; @@ -81,6 +82,14 @@ const submitStyles = css` } `; +const invalidStyles = css` + .invalid-box { + -webkit-appearance: none; + -webkit-box-shadow: 0 0 0.6rem ${colors.error}; + box-shadow: 0 0 0.6rem ${colors.error}; + border-color: transparent; + } +`; export { selectable, @@ -88,5 +97,6 @@ export { hiddenInput, multiSelectInput, textInputs, - submitStyles + submitStyles, + invalidStyles }; |