Skip to content

Commit 58e04e2

Browse files
committed
hotfix: dashboard today page hotfix + new screen size added
1 parent a162c05 commit 58e04e2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/app/dashboard/todays-question-bento-box.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export default async function TodaysQuestionBentoBox() {
7070
</div>
7171
</Link>
7272

73-
<div className="w-fit flex self-center relative -bottom-10 md:-bottom-20">
73+
<div className="w-fit flex self-center relative -bottom-8 sm:-bottom-20 md:-bottom-8 lg:-bottom-20">
7474
<DatePicker
75-
className="z-30 text-white bg-black-100 border border-black-50 p-2 rounded-md hover:cursor-default md:scale-[1.23]"
75+
className="z-30 text-white bg-black-100 border border-black-50 p-2 rounded-md hover:cursor-default xs:scale-100 sm:scale-125 md:scale-110 xl:scale-[1.23]"
7676
color="white"
7777
type="range"
7878
value={dateArray}

tailwind.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ const config: Config = {
103103
ring: 'hsl(var(--sidebar-ring))',
104104
},
105105
},
106+
screens: {
107+
xs: '380px',
108+
},
106109
container: {
107110
center: true,
108111
padding: '2rem',

0 commit comments

Comments
 (0)