mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-30 17:14:50 +00:00
feat(search): ✨ clean up spacing and alignment in typehead elements
This commit is contained in:
parent
84a12225d2
commit
5605d18f49
|
@ -87,6 +87,8 @@
|
|||
.citizen-typeahead {
|
||||
&__content {
|
||||
gap: var( --space-xs );
|
||||
padding-right: var( --space-sm );
|
||||
padding-left: var( --space-sm );
|
||||
margin: 0;
|
||||
border: var( --border-width-base ) solid var( --border-color-base );
|
||||
border-radius: var( --border-radius-medium );
|
||||
|
@ -186,7 +188,7 @@
|
|||
&__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: var( --space-xs ) var( --space-sm );
|
||||
padding: var( --space-xs ) var( --space-md );
|
||||
color: var( --color-base );
|
||||
}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
@position-offset-y-desktop: 3.5rem; /* Sync with search button position */
|
||||
|
||||
.citizen-search {
|
||||
--size-icon: 1rem;
|
||||
--width-search-bar: @width-search-bar;
|
||||
--height-search-bar: 2.75rem;
|
||||
|
||||
|
@ -37,7 +38,6 @@
|
|||
|
||||
&__formButton,
|
||||
&__formIcon {
|
||||
--size-icon: 1rem;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
/* Sync with left icons (--size-icon + --space-sm * 2) and typeahead */
|
||||
|
|
Loading…
Reference in a new issue