aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-01-10 19:39:09 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-01-10 19:39:09 +0300
commit7b419e7cf576bd4286c699d7c2afd3b4d692ab91 (patch)
tree5ab5e64bc254611c4fbc3545d2c1ed3612b72ac1
parentBreaks Up CSS Into Components (diff)
Fixes Subtle Alignment Issues
Signed-off-by: Hassan Abouelela <[email protected]>
-rw-r--r--src/commonStyles.tsx2
-rw-r--r--src/components/InputTypes/Checkbox.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commonStyles.tsx b/src/commonStyles.tsx
index d47dea7..5053846 100644
--- a/src/commonStyles.tsx
+++ b/src/commonStyles.tsx
@@ -23,7 +23,7 @@ const textInputs = css`
background: whitesmoke;
color: black;
- padding: 0 1rem;
+ padding: 0.15rem 1rem 0 1rem;
font: inherit;
margin-bottom: 0;
diff --git a/src/components/InputTypes/Checkbox.tsx b/src/components/InputTypes/Checkbox.tsx
index 07872d6..f63da31 100644
--- a/src/components/InputTypes/Checkbox.tsx
+++ b/src/components/InputTypes/Checkbox.tsx
@@ -13,7 +13,7 @@ const generalStyles = css`
label {
display: inline-block;
position: relative;
- top: 0.25em;
+ top: 0.3rem;
width: 1em;
height: 1em;