Did it via flexbox + position absolute of the searchbar. Realized that that everything is a little bigger on the dummy than i assumed it was due to 90% scaling in view mode, but seems fine
This commit is contained in:
@@ -11,21 +11,28 @@
|
||||
<style>
|
||||
.searchbar {
|
||||
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
background-color: var(--col_panel_field);
|
||||
border-radius: 30px;
|
||||
|
||||
|
||||
height: 36px;
|
||||
padding: 10px;
|
||||
margin-inline: auto auto;
|
||||
}
|
||||
|
||||
.searchbar__icon {
|
||||
margin: 9px;
|
||||
}
|
||||
.searchbar__input {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
color: var(--col_text_panel);
|
||||
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.searchbar__input:focus {
|
||||
|
||||
Reference in New Issue
Block a user