0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

🐛 Fix scrollbar with on chrome after 121 release

This commit is contained in:
Eva Marco 2024-05-21 13:25:49 +02:00
parent a94f1d6fe4
commit 8d104de41c
3 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,11 @@
# CHANGELOG
## 2.0.3
### :bug: Bugs fixed
- Fix chrome scrollbar styling [Taiga Issue #7852](https://tree.taiga.io/project/penpot/issue/7852)
## 2.0.2
### :sparkles: Enhancements

View file

@ -28,9 +28,16 @@ body {
* {
box-sizing: border-box;
scrollbar-width: thin;
// transition: all .4s ease;
}
@-moz-document url-prefix() {
* {
scrollbar-width: auto;
}
}
.global-zeroclipboard-container {
transition: none;

View file

@ -6,10 +6,14 @@
// SCROLLBAR
.new-scrollbar {
scrollbar-width: thin;
scrollbar-color: rgba(170, 181, 186, 0.3) transparent;
&:hover {
scrollbar-color: rgba(170, 181, 186, 0.7) transparent;
}
// These rules do not apply in chrome - 121 or higher
// We keep them to preserve backward compatibility.
::-webkit-scrollbar {
background-color: transparent;
cursor: pointer;