Skip to content

Commit 8c1d139

Browse files
committed
fix: navbar spacings
1 parent 247cf8b commit 8c1d139

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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 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/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)