Browse Source

Fix icon spacing

pull/82/head
Rihan 3 years ago
parent
commit
16da0a0e16
  1. 2
      src/components/buttons/IconPatch.tsx
  2. 2
      src/components/layout/Navigation.tsx

2
src/components/buttons/IconPatch.tsx

@ -14,7 +14,7 @@ export function IconPatch(props: IconPatchProps) { @@ -14,7 +14,7 @@ export function IconPatch(props: IconPatchProps) {
<div
className={`bg-denim-300 flex h-12 w-12 items-center justify-center rounded-full border-2 border-transparent transition-[color,transform,border-color] duration-75 ${
props.clickable
? "hover:bg-denim-400 mx-2 cursor-pointer hover:scale-110 hover:text-white active:scale-125"
? "hover:bg-denim-400 cursor-pointer hover:scale-110 hover:text-white active:scale-125"
: ""
} ${props.active ? "text-bink-600 border-bink-600 bg-bink-100" : ""}`}
>

2
src/components/layout/Navigation.tsx

@ -20,7 +20,7 @@ export function Navigation(props: NavigationProps) { @@ -20,7 +20,7 @@ export function Navigation(props: NavigationProps) {
</div>
{props.children}
</div>
<div className={props.children ? "hidden sm:flex" : "flex"}>
<div className={`${props.children ? "hidden sm:flex" : "flex"} flex-row gap-4`}>
<a
href={DISCORD_LINK}
target="_blank"

Loading…
Cancel
Save