mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +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">
|
<div className="card-content">
|
||||||
<h3>
|
<h3>
|
||||||
{iconSvg && <><Icon svg={iconSvg} />{" "}</> }
|
{iconSvg && <Icon svg={iconSvg} />}{" "}
|
||||||
{title}
|
<span>{title}</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div className="card-content-inner">
|
<div className="card-content-inner">
|
||||||
|
@ -116,6 +116,11 @@ img {
|
|||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--brand-1);
|
color: var(--brand-1);
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-content h3 > span {
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card > .image {
|
.card > .image {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user