This commit is contained in:
Pouya Saadeghi 2023-03-21 20:12:22 +03:00
parent 48b10e8ce3
commit ef1941ea1d
3 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}
}

View File

@ -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;