feat: improve & fix some styles

This commit is contained in:
Sonny
2023-11-07 17:54:51 +01:00
parent a2a4d145df
commit 3497c3f92d
9 changed files with 60 additions and 40 deletions

View File

@@ -39,20 +39,17 @@ export default function Links({
return (
<div className={styles["links-wrapper"]}>
<h2 className={styles["category-header"]}>
<span
className={styles["category-name"]}
style={{ display: "flex", alignItems: "center", gap: ".25em" }}
>
{isMobile && (
<ButtonLink
style={{
display: "flex",
}}
onClick={openMobileModal}
>
<RxHamburgerMenu size={"1.5em"} style={{ marginRight: ".5em" }} />
</ButtonLink>
)}
{isMobile && (
<ButtonLink
style={{
display: "flex",
}}
onClick={openMobileModal}
>
<RxHamburgerMenu size={"1.5em"} style={{ marginRight: ".5em" }} />
</ButtonLink>
)}
<span className={styles["category-name"]}>
{name}
{links.length > 0 && (
<span className={styles["links-count"]}> {links.length}</span>