mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
Decrease padding of AutocompleteItem
This commit is contained in:
parent
f79e2aca92
commit
b8a5b5d685
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
{id}
|
{id}
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
bind:this={buttonRef}
|
bind:this={buttonRef}
|
||||||
class={`btn ${className}`}
|
class="autocomplete-item btn {className}"
|
||||||
class:btn-day={!nightMode}
|
class:btn-day={!nightMode}
|
||||||
class:btn-night={nightMode}
|
class:btn-night={nightMode}
|
||||||
class:selected
|
class:selected
|
||||||
|
@ -41,6 +41,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@use 'button-mixins' as button;
|
@use 'button-mixins' as button;
|
||||||
|
|
||||||
|
.autocomplete-item {
|
||||||
|
padding: 1px 7px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
Loading…
Reference in a new issue