Skip to content

Commit

Permalink
auto вместо scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
perfect-insanity committed Feb 4, 2022
1 parent de973af commit b65b983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
</ul>
</div>
</div>
<textarea id="review" class="scroller transparentTrack" placeholder="Даже не знаю, что и сказать..."></textarea>
<textarea id="review" class="scroller" placeholder="Даже не знаю, что и сказать..."></textarea>
</div>
</aside>

Expand Down
6 changes: 1 addition & 5 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ button {
}

.scroller {
overflow-y: scroll;
overflow-y: auto;
padding-right: 5px;
}

Expand All @@ -154,10 +154,6 @@ button {
background-color: var(--main-background-color);
}

.scroller.transparentTrack::-webkit-scrollbar-track {
background-color: transparent;
}

.scroller::-webkit-scrollbar-thumb {
border-radius: 3px;
background-image: linear-gradient(180deg, #d0368a, #708ad4);
Expand Down

0 comments on commit b65b983

Please sign in to comment.