Skip to content

Commit d4a2050

Browse files
authored
Merge pull request #198 from natereprogle/dev
CSS fixes and changes
2 parents 7a34789 + adfb121 commit d4a2050

File tree

2 files changed

+47
-5
lines changed

2 files changed

+47
-5
lines changed

app/globals.css

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/nav/nav.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import styles from '@/components/nav/nav.module.css'
33
export default function Nav() {
44
return (
55
<nav
6-
className={`p-3 md:w-2/3 xl:w-1/2 md:my-7 mx-auto flex justify-center items-center space-x-2 ${styles.navbar}`}>
6+
className={`p-3 md:w-2/3 xl:w-[40%] md:my-7 mx-auto flex justify-center items-center space-x-2 text-xs sm:text-base ${styles.navbar}`}>
77
<ul className="flex justify-center gap-5 md:gap-10">
88
<li>
99
<a href="/" className={'flex space-x-1'}>
@@ -13,7 +13,7 @@ export default function Nav() {
1313
viewBox="0 0 24 24"
1414
strokeWidth="1.5"
1515
stroke="currentColor"
16-
className="h-6 w-6">
16+
className="h-5 w-5 sm:h-6 sm:w-6">
1717
<path
1818
strokeLinecap="round"
1919
strokeLinejoin="round"
@@ -31,7 +31,7 @@ export default function Nav() {
3131
viewBox="0 0 24 24"
3232
strokeWidth="1.5"
3333
stroke="currentColor"
34-
className="h-6 w-6">
34+
className="h-5 w-5 sm:h-6 sm:w-6">
3535
<path
3636
strokeLinecap="round"
3737
strokeLinejoin="round"
@@ -49,7 +49,7 @@ export default function Nav() {
4949
viewBox="0 0 24 24"
5050
strokeWidth="1.5"
5151
stroke="currentColor"
52-
className="h-6 w-6">
52+
className="h-5 w-5 sm:h-6 sm:w-6">
5353
<path
5454
strokeLinecap="round"
5555
strokeLinejoin="round"
@@ -69,7 +69,7 @@ export default function Nav() {
6969
viewBox="0 0 24 24"
7070
strokeWidth="1.5"
7171
stroke="currentColor"
72-
className="w-6 h-6">
72+
className="h-5 w-5 sm:h-6 sm:w-6">
7373
<path
7474
strokeLinecap="round"
7575
strokeLinejoin="round"

0 commit comments

Comments
 (0)