diff --git a/src/components/Selectors.tsx b/src/components/Selectors.tsx index 3614011..cab6afe 100644 --- a/src/components/Selectors.tsx +++ b/src/components/Selectors.tsx @@ -58,9 +58,9 @@ export const DropdownMenu = (props: DropdownProps) => { export const ToggleSwitch = ({ value, onChange, ref, children }: { value: boolean, ref?: React.RefObject, onChange?: React.ChangeEventHandler, children: string }) => { return

- - {children} - + + {children}: +

; }; \ No newline at end of file diff --git a/src/css/App.css b/src/css/App.css index a76c2b9..a919d13 100644 --- a/src/css/App.css +++ b/src/css/App.css @@ -113,6 +113,7 @@ header { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); cursor: pointer; transition: 0.4s; + margin-bottom: revert; } .check-box input:checked[type="checkbox"] { @@ -136,3 +137,9 @@ header { .check-box input:checked[type="checkbox"]::after { left: 50%; } + +.check-box-row{ + display: flex; + gap: 2px; + align-items: center; +}