Skip to content

Commit

Permalink
fix: mobile horizontal scroll (shyamtawli#111)
Browse files Browse the repository at this point in the history
* fix: responsive
  • Loading branch information
shyamtawli authored May 6, 2023
1 parent d523a6f commit b44c618
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/components/Profile/Profile.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@
display: flex;
gap: 1rem;
height: 35px;
overflow-x: scroll;
scroll-behavior: smooth;
overflow: hidden;
}

/* .skills-container:hover {
.skills-container:hover {
overflow-x: scroll;
scroll-behavior: auto;
} */
}

.skills-container::-webkit-scrollbar {
width: 10px;
Expand All @@ -72,7 +71,7 @@
border-radius: 5px;
font-size: 0.875rem;
white-space: nowrap;
height: 2rem;
height: 30px;
cursor: default;
}

Expand Down Expand Up @@ -103,3 +102,9 @@
text-decoration: none;
color: #fff;
}

@media (max-width: 480px) {
.skills-container .skill {
height: 2rem;
}
}

0 comments on commit b44c618

Please sign in to comment.