-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(input): disabled style and small size fixes (#389)
* fix(icon): safari overflow issue fixed * fix(input): various visual fixes for input * disabled style fixed * small size added * vertical alignments fixed * internal component structure refactored for creating extra flexibility for upcoming features (like trailing/leading text), better reliability and maintainability * fix(input): placeholder color fix * ci: extra padding has been added for chromatic * fix(input): label max width with icon * ci: clean forgotten style * fix(input): positioning issues are fixed * fix(input): variable name fix * docs(input): small size added for storybook canvas * docs(input): label fixed attribute in canvas fix
- Loading branch information
1 parent
c874c5d
commit bd50362
Showing
7 changed files
with
270 additions
and
141 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
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,14 +1,19 @@ | ||
:host { | ||
display: inline-block; | ||
position: relative; | ||
} | ||
|
||
:host div { | ||
display: flex; | ||
align-items: stretch; | ||
width: 1em; | ||
height: 1em; | ||
min-width: 1em; | ||
min-height: 1em; | ||
overflow: hidden; | ||
transform: translateZ(0); | ||
} | ||
|
||
:host div, | ||
:host svg { | ||
width: 100%; | ||
height: 100%; | ||
width: 1em; | ||
height: 1em; | ||
} |
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
Oops, something went wrong.