mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
feat(website): improve icon fit
This commit is contained in:
parent
974d20b0ba
commit
fb7453f7b0
@ -18,8 +18,8 @@ export default function Card({ title, children, imageUrl, iconSvg, className, mo
|
||||
|
||||
<div className="card-content">
|
||||
<h3>
|
||||
{iconSvg && <><Icon svg={iconSvg} />{" "}</> }
|
||||
{title}
|
||||
{iconSvg && <Icon svg={iconSvg} />}{" "}
|
||||
<span>{title}</span>
|
||||
</h3>
|
||||
|
||||
<div className="card-content-inner">
|
||||
|
@ -116,6 +116,11 @@ img {
|
||||
font-weight: 300;
|
||||
margin: 0;
|
||||
color: var(--brand-1);
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.card-content h3 > span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.card > .image {
|
||||
|
Loading…
x
Reference in New Issue
Block a user