Skip to content

Commit

Permalink
fix: #2360
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Sep 27, 2023
1 parent dc1766b commit 20a8f62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/unstyled/file-input.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.file-input {
@apply h-12 flex-shrink pr-4 text-sm leading-loose;
&::file-selector-button {
@apply mr-4 inline-flex h-[2.875rem] min-h-[2.875rem] flex-shrink-0 cursor-pointer select-none flex-wrap items-center justify-center px-4 text-center text-sm transition duration-200 ease-out;
@apply mr-4 inline-flex h-full flex-shrink-0 cursor-pointer select-none flex-wrap items-center justify-center px-4 text-center text-sm transition duration-200 ease-out;
line-height: 1em;
}
}
8 changes: 4 additions & 4 deletions src/utilities/unstyled/file-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@
&-xs {
@apply h-6 pr-2 text-xs leading-relaxed;
&::file-selector-button {
@apply mr-2 h-[1.375rem] min-h-[1.375rem];
@apply mr-2;
font-size: 0.75rem;
}
}
&-sm {
@apply h-8 pr-3 text-sm leading-loose;
&::file-selector-button {
@apply mr-3 h-[1.875rem] min-h-[1.875rem];
@apply mr-3;
font-size: 0.875rem;
}
}
&-md {
@apply h-12 pr-4 text-sm leading-loose;
&::file-selector-button {
@apply mr-4 h-[2.875rem] min-h-[2.875rem];
@apply mr-4;
font-size: 0.875rem;
}
}
&-lg {
@apply h-16 pr-6 text-lg leading-loose;
&::file-selector-button {
@apply mr-6 h-[3.875rem] min-h-[3.875rem];
@apply mr-6;
font-size: 1.125rem;
}
}
Expand Down

0 comments on commit 20a8f62

Please sign in to comment.