mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Fix icon alignment
This commit is contained in:
parent
80372b2ae4
commit
c15d0b9c62
3 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
{id}
|
||||
class="button-toolbar btn-toolbar {className}"
|
||||
class:nightMode={$pageTheme.isDark}
|
||||
style:--icon-align="baseline"
|
||||
{style}
|
||||
role="toolbar"
|
||||
on:focusout
|
||||
|
|
|
@ -11,7 +11,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</script>
|
||||
|
||||
<div class="collapse-badge" class:collapsed class:highlighted>
|
||||
<Badge iconSize={80} --icon-align="text-bottom">{@html chevronDown}</Badge>
|
||||
<Badge iconSize={80}>{@html chevronDown}</Badge>
|
||||
</div>
|
||||
|
||||
<style lang="scss">
|
||||
|
|
|
@ -456,6 +456,7 @@ the AddCards dialog) should be implemented in the user of this component.
|
|||
richTextsHidden[index] = true;
|
||||
}
|
||||
}}
|
||||
--icon-align="bottom"
|
||||
>
|
||||
<svelte:fragment slot="field-name">
|
||||
<LabelName>
|
||||
|
|
Loading…
Reference in a new issue