Skip to content

Commit 27b14c1

Browse files
fix: improve hover alignment (#130)
Signed-off-by: Tusharjamdade <tusharnjamdade@gmail.com>
1 parent 415d6b0 commit 27b14c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/Navbar.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ function Navbar({ scrollToFooter }: { scrollToFooter: any }) {
194194
marginLeft: screens.md ? "20px" : "0",
195195
height: "65px",
196196
display: "flex",
197+
justifyContent: "center",
198+
paddingLeft: "15px",
199+
borderRadius: "5px",
197200
alignItems: "center",
198201
backgroundColor:
199202
hovered === "join" ? "rgba(255, 255, 255, 0.1)" : "transparent",
@@ -225,6 +228,9 @@ function Navbar({ scrollToFooter }: { scrollToFooter: any }) {
225228
height: "65px",
226229
display: "flex",
227230
alignItems: "center",
231+
justifyContent: "center",
232+
padding: screens.md ? "0 20px" : "0 10px",
233+
borderRadius: "5px",
228234
borderLeft: screens.md
229235
? "1.5px solid rgba(255, 255, 255, 0.1)"
230236
: "none",

0 commit comments

Comments
 (0)