forked from saadeghi/daisyui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* textarea-<size> * docs: ✏️ textarea-<size>
- Loading branch information
1 parent
498002b
commit 8c89739
Showing
4 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
} | ||
> *, | ||
> .input, | ||
> .textarea, | ||
> .select { | ||
@apply rounded-none; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
.textarea { | ||
@apply flex-shrink transition duration-200 ease-in-out; | ||
& { | ||
@apply px-4 py-2 text-sm leading-loose min-h-12; | ||
} | ||
@apply flex-shrink transition duration-200 ease-in-out min-h-12; | ||
@apply py-2 px-4 text-sm leading-loose; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.textarea { | ||
&-xs { | ||
@apply py-1 px-2 text-xs leading-relaxed; | ||
} | ||
&-sm { | ||
@apply py-1 px-3 text-sm leading-8; | ||
} | ||
&-md { | ||
@apply py-3 px-4 text-sm leading-loose; | ||
} | ||
&-lg { | ||
@apply py-4 px-6 text-lg leading-loose; | ||
} | ||
} |