mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 05:59:00 +01:00
style(website): misalignment of icon in button
This commit is contained in:
parent
ac45617d8f
commit
61ea27c8f4
@ -14,3 +14,7 @@ a.button.outline {
|
|||||||
color: var(--brand-1);
|
color: var(--brand-1);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.button .text {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
@ -26,7 +26,7 @@ export default function Button({ iconSvg, text, className, outline, ...restProps
|
|||||||
{...restProps}
|
{...restProps}
|
||||||
>
|
>
|
||||||
{iconSvg && <><Icon svg={iconSvg} />{" "}</>}
|
{iconSvg && <><Icon svg={iconSvg} />{" "}</>}
|
||||||
{text}
|
<span class="text">{text}</span>
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user