Skip to content

Commit

Permalink
fix: #1700
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Mar 21, 2023
1 parent 48b10e8 commit ef1941e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/styled/file-input.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.file-input {
@apply border border-base-content border-opacity-0 bg-base-100 rounded-btn text-base overflow-hidden;
&::file-selector-button {
border-style: solid;
@apply font-semibold uppercase no-underline border-neutral bg-neutral text-neutral-content;
border-width: var(--border-btn, 1px);
animation: button-pop var(--animation-btn, 0.25s) ease-out;
Expand Down
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 flex-shrink h-12 pr-4 text-sm leading-loose;
&::file-selector-button {
@apply inline-flex flex-shrink-0 cursor-pointer select-none flex-wrap items-center justify-center border-transparent text-center transition duration-200 ease-in-out h-[2.875rem] px-4 text-sm min-h-[2.875rem] mr-4;
@apply inline-flex flex-shrink-0 cursor-pointer select-none flex-wrap items-center justify-center text-center transition duration-200 ease-in-out h-[2.875rem] px-4 text-sm min-h-[2.875rem] mr-4;
line-height: 1em;
}
}
2 changes: 1 addition & 1 deletion src/utilities/unstyled/file-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
}
&-sm {
@apply pr-3 text-sm leading-8 h-8;
@apply pr-3 text-sm leading-loose h-8;
&::file-selector-button {
@apply mr-3 h-[1.875rem] min-h-[1.875rem];
font-size: 0.875rem;
Expand Down

0 comments on commit ef1941e

Please sign in to comment.