mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02: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}
|
{id}
|
||||||
class="button-toolbar btn-toolbar {className}"
|
class="button-toolbar btn-toolbar {className}"
|
||||||
class:nightMode={$pageTheme.isDark}
|
class:nightMode={$pageTheme.isDark}
|
||||||
|
style:--icon-align="baseline"
|
||||||
{style}
|
{style}
|
||||||
role="toolbar"
|
role="toolbar"
|
||||||
on:focusout
|
on:focusout
|
||||||
|
|
|
@ -11,7 +11,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="collapse-badge" class:collapsed class:highlighted>
|
<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>
|
</div>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
|
@ -456,6 +456,7 @@ the AddCards dialog) should be implemented in the user of this component.
|
||||||
richTextsHidden[index] = true;
|
richTextsHidden[index] = true;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
--icon-align="bottom"
|
||||||
>
|
>
|
||||||
<svelte:fragment slot="field-name">
|
<svelte:fragment slot="field-name">
|
||||||
<LabelName>
|
<LabelName>
|
||||||
|
|
Loading…
Reference in a new issue