Skip to content

Commit

Permalink
Merge pull request #90 from stringer1000/addscroll
Browse files Browse the repository at this point in the history
Added Scrollbar.
  • Loading branch information
sharanya-mitra authored Oct 15, 2022
2 parents 1e2ea4b + 63412f6 commit dbc6d5a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,27 @@ form {

.fish {
flex: 1;
max-width: 18rem;
overflow-x: scroll;
overflow-y: hidden;
min-height: fit-content;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.fish::-webkit-scrollbar {
width: 5px;
}

@media screen and (max-width: 480px) {
.fish {
max-width: 12rem;
}
}
@media screen and (min-width: 720px) {
.fish {
max-width: 20rem;
}
}

.done {
Expand Down

0 comments on commit dbc6d5a

Please sign in to comment.