Skip to content

Commit

Permalink
reduce navbar size
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelRajodiya committed Jul 31, 2024
1 parent f280ad9 commit f7424cd
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/components/NavBar/NavBar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

.title {
font-size: 1.3em;
font-size: 1.2em;
font-weight: 800;
}
.backBtn {
Expand Down
4 changes: 2 additions & 2 deletions app/components/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export default function NavBar({ urlPath }: { urlPath: string }) {
<Image
src={colorMode == "light" ? JSONSchemaIcon : JSONSchemaIconDark}
alt="JSON Schema Logo"
width={40}
height={40}
width={32}
height={32}
/>
<div className={cx(styles.title, outfitFont.className)}>
A Tour of JSON Schema
Expand Down
4 changes: 2 additions & 2 deletions app/styles/icons/BiSun.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ function Icon({ colorMode }: { colorMode: "light" | "dark" }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
width="18"
height="18"
fill="none"
style={{
transform: "scale(1.3)",
Expand Down
4 changes: 2 additions & 2 deletions app/styles/icons/GithubIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ function Icon({ colorMode }: { colorMode?: "dark" | "light" }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="26"
height="26"
width="22"
height="22"
fill="none"
style={{
filter: colorMode === "dark" ? "invert(1)" : "invert(0)",
Expand Down
4 changes: 2 additions & 2 deletions app/styles/icons/MoonIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ function Icon({ colorMode }: { colorMode?: "dark" | "light" }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
width="18"
height="18"
fill="none"
viewBox="0 0 20 20"
style={{
Expand Down
4 changes: 2 additions & 2 deletions app/styles/icons/SettingsIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ function Icon({ colorMode }: { colorMode?: "dark" | "light" }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="22"
width="18.1818181818"
height="20"
fill="none"
viewBox="0 0 20 22"
style={{
Expand Down

0 comments on commit f7424cd

Please sign in to comment.