Skip to content

Commit cb13079

Browse files
committed
fix: make download model modal buttons scale on mobile screen widths
1 parent 09a8fe3 commit cb13079

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Common/DownloadModelModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const DownloadModelModal: React.FC<Props> = ({
141141
<div className="order-1 flex flex-row gap-2 md:order-2">
142142
<Link
143143
href="/"
144-
className="group flex h-8 cursor-pointer select-none items-center gap-2 rounded border border-glass-border bg-glass px-3 text-sm text-white/90 transition-all duration-200 hover:bg-glass-strong md:h-10 md:px-4"
144+
className="group flex cursor-pointer select-none items-center gap-2 rounded border border-glass-border bg-glass px-3 py-1.5 text-sm text-white/90 transition-all duration-200 hover:bg-glass-strong md:px-4 md:py-2.5"
145145
>
146146
<span className="material-symbols-outlined text-base text-secondary group-hover:text-primary md:text-lg">
147147
home
@@ -152,7 +152,7 @@ export const DownloadModelModal: React.FC<Props> = ({
152152
<div
153153
tabIndex={0}
154154
role="button"
155-
className={`flex h-8 select-none items-center gap-2 rounded px-3 text-sm text-white transition-all duration-200 md:h-10 md:px-4 ${
155+
className={`flex select-none items-center gap-2 rounded px-3 py-1.5 text-sm text-white transition-all duration-200 md:px-4 md:py-2.5 ${
156156
isDownloading || progress >= 100
157157
? 'cursor-not-allowed border border-human-4/30 bg-human-4/50'
158158
: 'cursor-pointer border border-glass-border bg-human-4 hover:bg-human-3'

0 commit comments

Comments
 (0)