From 7b419e7cf576bd4286c699d7c2afd3b4d692ab91 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Sun, 10 Jan 2021 19:39:09 +0300 Subject: Fixes Subtle Alignment Issues Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> --- src/commonStyles.tsx | 2 +- src/components/InputTypes/Checkbox.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3