Fix icon alignment

This commit is contained in:
Matthias Metelka 2022-11-07 15:47:46 +01:00
parent 80372b2ae4
commit c15d0b9c62
3 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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">

View file

@ -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>