Skip to content

Commit

Permalink
nax bar fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MariiaKovalenkoo committed Apr 7, 2024
1 parent b13d198 commit 85598ea
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions app/pages/jazz/overview/main.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<script src="/script/textToSpeech.js" defer></script>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap" rel="stylesheet"/>
<link href="/css/jazzStyles.css" rel="stylesheet">
<link href="/css/navBarStyle.css" rel="stylesheet">
</head>
<body class="font-montserrat">

Expand Down
9 changes: 0 additions & 9 deletions app/pages/main/mainpage_head.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/tailwind.css" rel="stylesheet">
<style>
@media (min-width: 768px) {
#stickyNav {
position: sticky;
top: 0;
z-index: 50;
}
}
</style>
</head>

<body>
Expand Down
13 changes: 13 additions & 0 deletions app/public/css/navBarStyle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@media (min-width: 768px) {
#stickyNav {
position: sticky;
top: 0;
z-index: 50;
}
}

@media (max-width: 767px) {
#stickyNav {
position: static;
}
}

0 comments on commit 85598ea

Please sign in to comment.