Skip to content

Commit 6d762ba

Browse files
style: make ui more consistent
1 parent 22e1839 commit 6d762ba

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/pages/analysis/[...id].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ const Analysis: React.FC<Props> = ({
669669
<div className="flex h-full w-[90%] flex-row gap-2">
670670
<motion.div
671671
id="navigation"
672-
className="desktop-left-column-container flex flex-col gap-2 overflow-hidden 2xl:min-w-72"
672+
className="desktop-left-column-container flex flex-col gap-2 overflow-hidden"
673673
variants={itemVariants}
674674
style={{ willChange: 'transform, opacity' }}
675675
>

src/pages/openings/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,10 +683,10 @@ const OpeningsPage: NextPage = () => {
683683
}
684684

685685
const desktopLayout = () => (
686-
<div className="flex h-full w-full flex-col items-center py-4 md:py-10">
687-
<div className="flex h-full w-[90%] flex-row gap-4">
686+
<div className="flex h-full w-full flex-col items-center py-4">
687+
<div className="flex h-full w-[90%] flex-row gap-2">
688688
{/* Left Sidebar */}
689-
<div className="desktop-left-column-container flex flex-col gap-2 overflow-hidden">
689+
<div className="desktop-left-column-container flex flex-col gap-2 overflow-hidden rounded">
690690
<div className="flex w-full flex-col">
691691
<OpeningDrillSidebar
692692
currentDrill={controller.currentDrill}

src/pages/puzzles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,14 +667,14 @@ const Train: React.FC<Props> = ({
667667

668668
const desktopLayout = (
669669
<motion.div
670-
className="flex h-full w-full flex-col items-center py-4 md:py-10"
670+
className="flex h-full w-full flex-col items-center py-4"
671671
variants={containerVariants}
672672
initial="hidden"
673673
animate="visible"
674674
exit="exit"
675675
style={{ willChange: 'transform, opacity' }}
676676
>
677-
<div className="flex h-full w-[90%] flex-row gap-4">
677+
<div className="flex h-full w-[90%] flex-row gap-2">
678678
<motion.div
679679
className="desktop-left-column-container flex flex-col gap-2 overflow-hidden"
680680
variants={itemVariants}

src/styles/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ svg {
9696

9797
.desktop-left-column-container {
9898
width: 16vw;
99-
min-width: 14rem;
99+
min-width: max(14rem, 16vw);
100100
height: 85vh;
101101
}
102102

0 commit comments

Comments
 (0)