Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(website): misalignment of icon in button
Elian Doran61ea27c8f4bb
diff --git a/apps/website/src/components/Button.css b/apps/website/src/components/Button.cssindex b252b24cee..41d5cafbc7 100644--- a/apps/website/src/components/Button.css+++ b/apps/website/src/components/Button.css@@ -13,4 +13,8 @@ a.button.outline {border: 1px solid var(--brand-1);color: var(--brand-1);background-color: transparent;+}++a.button .text {+ vertical-align: middle;}\ No newline at end of filediff --git a/apps/website/src/components/Button.tsx b/apps/website/src/components/Button.tsxindex c48cf66dfa..1ac4c8fe03 100644--- a/apps/website/src/components/Button.tsx+++ b/apps/website/src/components/Button.tsx@@ -26,7 +26,7 @@ export default function Button({ iconSvg, text, className, outline, ...restProps{...restProps}>{iconSvg && <><Icon svg={iconSvg} />{" "}</>}- {text}+ <span class="text">{text}</span></Link>)}