fix tabs scrollbar jump (#203)

This commit is contained in:
Red J Adaya 2023-12-31 14:42:46 +08:00 committed by GitHub
parent 452836bffc
commit 2c9272e3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,11 +244,15 @@
display: flex;
flex-direction: row;
align-items: center;
overflow-x: hidden;
overflow-x: scroll;
&:hover,
&:focus {
overflow-x: overlay;
&::-webkit-scrollbar-thumb,
&::-webkit-scrollbar-track {
display: none;
}
&:hover::-webkit-scrollbar-thumb {
display: block;
}
.screen-tab {
@ -321,6 +325,7 @@
cursor: pointer;
display: flex;
align-items: center;
height: 37px;
.icon {
height: 2rem;