Skip to content

Commit

Permalink
Adjust header style to remove horizontal scrollbar and enable mouse h…
Browse files Browse the repository at this point in the history
…orizontal scroll
  • Loading branch information
thearyadev committed Dec 26, 2023
1 parent ec6cdb9 commit 37ac67f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/app/components/header/header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@

.navbar {
@apply bg-gray-300 w-full overflow-x-auto flex whitespace-nowrap;
scrollbar-width: none;
-ms-overflow-style: none;

ul {
@apply flex list-none space-x-4;
}

ul > li {
@apply p-3 hover:bg-gray-400 transition duration-100 ease-in-out;
@apply hover:bg-gray-400 transition duration-100 ease-in-out;
}
}

.navbar::-webkit-scrollbar{
display: none;
}

0 comments on commit 37ac67f

Please sign in to comment.