Tuning on select width and icon placement

This commit is contained in:
Anthony Johnson 2024-09-19 10:47:21 -07:00
parent 7b63004607
commit 4f450c9d5e
No known key found for this signature in database
GPG Key ID: 709FE91423F05AA0
2 changed files with 10 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -239,12 +239,14 @@ html
font-weight: normal
color: rgba(255, 255,255, 0.3)
> div.version-switch, > div.language-switch
display: inline-block
padding: .2em
select
// Provide room for dropdown icon
display: inline-block
min-width: 10em
max-width: 10em
padding: .1em 1.5em .1em .5em
margin-right: -2rem
padding-right: 2rem
text-align-last: center
background: none
border: none
@ -262,16 +264,15 @@ html
background: rgba(255, 255, 255, .1)
color: rgba(255, 255, 255, .5)
&:after
display: inline-block;
width: 1.5em
height: 100%
padding: .1em
content: "\f0d7"
font-size: 1em
line-height: 1.2em
font-family: FontAwesome
text-align: center
width: 1.5em
height: 100%
padding: .1em
position: absolute
right: 3.5em
pointer-events: none
box-sizing: border-box