diff --git a/src/components/Inputs/Button.tsx b/src/components/Inputs/Button.tsx index 3cfce30..bc19948 100644 --- a/src/components/Inputs/Button.tsx +++ b/src/components/Inputs/Button.tsx @@ -38,8 +38,8 @@ export function Button(props: Immutable): JSX.Element { draggable={draggable} id={id} onClick={onClick} - className={`--opacityBadge:100 grid select-none place-content-center - place-items-center rounded-full border-[1px] border-dark px-4 pt-[0.4rem] + className={`--opacityBadge:100 grid select-none grid-flow-col place-content-center + place-items-center gap-2 rounded-full border-[1px] border-dark px-4 pt-[0.4rem] pb-[0.5rem] text-dark transition-all hover:[--opacityBadge:0] ${className} ${ active ? "cursor-not-allowed !border-black bg-black text-light drop-shadow-black-lg" @@ -56,7 +56,7 @@ export function Button(props: Immutable): JSX.Element { )} {icon && } -

{text}

+ {text &&

{text}

} ); diff --git a/src/components/PanelComponents/ReturnButton.tsx b/src/components/PanelComponents/ReturnButton.tsx index 2eef3de..5d4a9ff 100644 --- a/src/components/PanelComponents/ReturnButton.tsx +++ b/src/components/PanelComponents/ReturnButton.tsx @@ -36,7 +36,6 @@ export function ReturnButton(props: Immutable): JSX.Element {