mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: improve & fix some styles
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user