Skip to content

Commit

Permalink
fix: responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebanti2003 committed Sep 7, 2024
1 parent 7b3df34 commit a5edf5c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,13 @@
@tailwind components;
@tailwind utilities;

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

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}

4 changes: 2 additions & 2 deletions src/pages/Coreteam/Coreteam.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ function Coreteam() {
</div>

<div className="flex flex-col justify-center items-center mb-5">
<div className="flex w-full flex-wrap justify-center gap-2">
{memberList.map((element) => {
<div className="flex w-full md:justify-center px-4 gap-2 overflow-x-auto no-scrollbar">
{memberList.reverse().map((element) => {
return (
<button
key={element.id}
Expand Down

0 comments on commit a5edf5c

Please sign in to comment.