Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds input addon items to CSS and Vue packages.
- Loading branch information
1 parent
c5889b0
commit f5b908d
Showing
12 changed files
with
240 additions
and
134 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
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,20 @@ | ||
/* | ||
* Input addons e.g. icons inside the input | ||
*/ | ||
.input-addon-right, | ||
.input-addon-left { | ||
/* Maybe I should have defined another css prop for addon adjustments but trying | ||
to avoid any extra variable explosion there--will need to keep an eye on this */ | ||
--addon-padding: calc(var(--agnosticui-input-side-padding) * 1.5); | ||
position: absolute; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
} | ||
|
||
.input-addon-left { | ||
left: var(--addon-padding); | ||
} | ||
|
||
.input-addon-right { | ||
right: var(--addon-padding); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.