mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-29 17:58:27 +00:00
web/Omnibox: adapt for RTL layout
This commit is contained in:
parent
e7c2196a25
commit
88ed5876ae
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue