Skip to content

Commit f582f32

Browse files
authored
Merge pull request #1260 from dacadeorg/fix/nav-links-spacing
fix: navbar spacings
2 parents 341613d + 83a00fc commit f582f32

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/components/layout/Navbar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,21 +87,21 @@ export default function Navbar({ settings, sidebarBurgerColor = false }: NavbarP
8787
};
8888

8989
return (
90-
<div className="text-gray-900 " style={containerStyle}>
90+
<div className="text-gray-900" style={containerStyle}>
9191
<div className="content-wrapper lg:py-12 py-6 flex relative">
9292
<ul className="relative">
9393
<NavItem to="/" type="logo w-8 h-8 md:w-11 md:h-11">
9494
<Logo />
9595
</NavItem>
96-
<NavItem to="/" type="brand mx-0.5">
96+
<NavItem to="/" type="brand">
9797
{t("app.name")}
9898
</NavItem>
9999
</ul>
100100
{isAuthenticatedAndVerified && (
101101
<ul className="hidden lg:block relative self-center">
102102
<NavItem to="/bounties">{t("nav.bounties")}</NavItem>
103103
<NavItem to={"/communities"}>{t("nav.communities")}</NavItem>
104-
<button className="nav-item underline underline-offset-2 text-primary bg-transparent pl-2 py-0 capitalize" onClick={displayJobOffersPopup}>
104+
<button type="button" className="nav-item underline underline-offset-2 text-primary bg-transparent p-0 capitalize" onClick={displayJobOffersPopup}>
105105
{t("job.offers.title")}
106106
</button>
107107
</ul>

src/components/popups/NotificationPopup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function NotificationPopup({ buttonStyles }: NotificationPopupPro
6161
return (
6262
<div>
6363
<span onClick={externalClick}>
64-
<li className={`inline-block align-middle mr-2 relative text-gray-500 max-w-80 ${isNotificationVisible ? "z-50" : "z-10"}`} onClick={toggle}>
64+
<li className={`inline-block align-middle mr-3 relative text-gray-500 max-w-80 ${isNotificationVisible ? "z-50" : "z-10"}`} onClick={toggle}>
6565
<Button type="button" padding={false} variant="secondary" className="p-2 bg-gray-100 bg-opacity-75 hover:bg-gray-50 text-primary" customStyle={buttonStyles}>
6666
<BellIcon />
6767
{unread > 0 && <Badge value={unread} className="top-0 -right-1 absolute" />}

src/styles/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ body {
5151
}
5252

5353
.nav-item {
54-
@apply font-normal ml-2 opacity-70 hover:opacity-100;
54+
@apply font-normal ml-3 opacity-70 hover:opacity-100;
5555
}
5656
.nav-item a {
5757
@apply align-text-top;
5858
}
5959
.nav-brand {
60-
@apply font-semibold mx-1.5;
60+
@apply font-semibold ml-2;
6161
}
6262
.content-wrapper {
6363
@apply relative;

0 commit comments

Comments
 (0)