Skip to content

Commit

Permalink
Adjust select background spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
zichy committed Jul 7, 2023
1 parent 32d2b71 commit 527b86b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fieber.css
Original file line number Diff line number Diff line change
Expand Up @@ -792,18 +792,18 @@ label:has([type='checkbox' i][disabled], [type='radio' i][disabled]) {
/* Select */

select {
background: hsl(var(--hs-static), var(--l-highest)) var(--i-triangle) no-repeat calc(100% - 2rem) center / 1.5rem;
background: hsl(var(--hs-static), var(--l-highest)) var(--i-triangle) no-repeat calc(100% - 1rem) center / 1.5rem;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 5.5rem;
padding-right: 3.5rem;
overflow: hidden;
cursor: pointer;
}

[dir='rtl' i] select {
background-position: 2rem center;
background-position: 1rem center;
padding-right: 1rem;
padding-left: 5.5rem;
padding-left: 3.5rem;
}

select[multiple] {
Expand Down

0 comments on commit 527b86b

Please sign in to comment.