mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
Fix: input[aria-invalid] text overlaps the icon #35
This commit is contained in:
parent
b40a9277f2
commit
6363f84087
7 changed files with 12 additions and 7 deletions
|
@ -1101,7 +1101,7 @@ textarea[disabled] {
|
|||
input[aria-invalid],
|
||||
select[aria-invalid],
|
||||
textarea[aria-invalid] {
|
||||
padding-right: 2rem;
|
||||
padding-right: 2rem !important;
|
||||
background-position: center right 0.75rem;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1rem auto;
|
||||
|
|
2
css/pico.classless.min.css
vendored
2
css/pico.classless.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1278,7 +1278,7 @@ textarea[disabled] {
|
|||
input[aria-invalid],
|
||||
select[aria-invalid],
|
||||
textarea[aria-invalid] {
|
||||
padding-right: 2rem;
|
||||
padding-right: 2rem !important;
|
||||
background-position: center right 0.75rem;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1rem auto;
|
||||
|
|
|
@ -1071,7 +1071,7 @@ textarea[disabled] {
|
|||
input[aria-invalid],
|
||||
select[aria-invalid],
|
||||
textarea[aria-invalid] {
|
||||
padding-right: 2rem;
|
||||
padding-right: 2rem !important;
|
||||
background-position: center right 0.75rem;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1rem auto;
|
||||
|
|
2
css/pico.fluid.classless.min.css
vendored
2
css/pico.fluid.classless.min.css
vendored
File diff suppressed because one or more lines are too long
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -223,7 +223,12 @@ select,
|
|||
textarea {
|
||||
|
||||
&[aria-invalid] {
|
||||
padding-right: 2rem;
|
||||
@if $enable-important {
|
||||
padding-right: 2rem !important;
|
||||
}
|
||||
@else {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
background-position: center right .75rem;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1rem auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue