web/Omnibox: adapt for RTL layout

This commit is contained in:
wukko 2024-11-20 15:34:10 +06:00
parent e7c2196a25
commit 88ed5876ae
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -219,12 +219,13 @@
}
#input-container {
--input-padding: 10px;
display: flex;
box-shadow: 0 0 0 1.5px var(--input-border) inset;
border-radius: var(--border-radius);
padding: 0 10px;
padding: 0 var(--input-padding);
align-items: center;
gap: 10px;
gap: var(--input-padding);
font-size: 14px;
flex: 1;
}
@ -233,6 +234,11 @@
padding-right: 0;
}
#input-container.downloadable:dir(rtl) {
padding-right: var(--input-padding);
padding-left: 0;
}
#input-container.focused {
box-shadow: 0 0 0 1.5px var(--secondary) inset;
outline: var(--secondary) 0.5px solid;
@ -250,7 +256,7 @@
display: flex;
width: 100%;
margin: 0;
padding: 10px 0;
padding: var(--input-padding) 0;
height: 18px;
align-items: center;