From 477e30091a14e592d83d0233ff1771c88cfd4e11 Mon Sep 17 00:00:00 2001 From: Yevhenii Lukashov <115802889+EuJinnLucaShow@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:36:36 +0300 Subject: [PATCH] Fixed styles of radio buttons and calendar Fixed styles of radio buttons and calendar --- src/components/Datepicker/StyledDatepicker.styled.jsx | 2 +- src/components/UserForm/UserForm.jsx | 1 - src/components/UserForm/UserForm.styled.jsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Datepicker/StyledDatepicker.styled.jsx b/src/components/Datepicker/StyledDatepicker.styled.jsx index 2dbc261..ead4f42 100644 --- a/src/components/Datepicker/StyledDatepicker.styled.jsx +++ b/src/components/Datepicker/StyledDatepicker.styled.jsx @@ -13,7 +13,7 @@ export const CalendarGlobalStyles = createGlobalStyle` } .react-datepicker { position: absolute; - left: 50%; + left: -20px; top: 50%; transform: translate(-15%, 0%); display: flex; diff --git a/src/components/UserForm/UserForm.jsx b/src/components/UserForm/UserForm.jsx index 3dcbb9d..c3950b1 100644 --- a/src/components/UserForm/UserForm.jsx +++ b/src/components/UserForm/UserForm.jsx @@ -97,7 +97,6 @@ const UserForm = () => { ...values, }; dispatch(updateUserParams(sendData)); - console.log(sendData); }; return ( diff --git a/src/components/UserForm/UserForm.styled.jsx b/src/components/UserForm/UserForm.styled.jsx index 31329ca..3ae0733 100644 --- a/src/components/UserForm/UserForm.styled.jsx +++ b/src/components/UserForm/UserForm.styled.jsx @@ -120,7 +120,6 @@ export const WrapperRadio = styled.div` position: absolute; top: 3px; left: 0; - z-index: 1; } .radio-label::after {