Skip to content

Commit 63e1c03

Browse files
committed
Tweak buttons
1 parent 8995d7a commit 63e1c03

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/components/Navbar.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,18 @@ function Navbar(props) {
280280
)}
281281
<div className="navbar-item">
282282
<button
283-
className="button is-small apButtonNeutral"
284283
aria-label={colorMode === "light" ? "Toggle dark mode" : "Toggle light mode"}
285284
onClick={() => colorModeSetter(colorMode === "light" ? "dark" : "light")}
286285
title={colorMode === "light" ? "Toggle dark mode" : "Toggle light mode"}
287286
>
288-
<span className="icon">
289-
<i className={colorMode === "light" ? "fa fa-moon-o" : "fa fa-sun-o"}></i>
287+
<span className="icon" style={{ fontSize: "1.4rem", fontWeight: "bold" }}>
288+
{colorMode === "light" ? "\u263E" : "\u263C"}
290289
</span>
291290
</button>
291+
</div>
292+
<div className="navbar-item">
292293
<button
293-
className="button is-small apButtonNeutral ml-2"
294+
className="ml-2"
294295
aria-label="Customize Theme"
295296
onClick={() => setShowThemeModal(true)}
296297
title="Customize Theme"

0 commit comments

Comments
 (0)