Skip to content

Commit

Permalink
fix: #171 音源太多时切换榜单导致布局异常
Browse files Browse the repository at this point in the history
  • Loading branch information
maotoumao committed Nov 3, 2024
1 parent 636e17f commit 58e8da5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/renderer/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@
margin-top: 1.2rem;
flex-shrink: 0;
column-gap: 2.5rem;
overflow-x: auto;
padding-bottom: 6px;

&::-webkit-scrollbar {
display: none;
}

/* 当鼠标悬浮时显示滚动条 */
&:hover {
&::-webkit-scrollbar {
display: block;
}
}

& .tab-list-item {
display: flex;
Expand All @@ -32,6 +45,7 @@
cursor: pointer;
opacity: 0.7;
white-space: nowrap;
user-select: none;

&:hover {
opacity: 0.9;
Expand Down

0 comments on commit 58e8da5

Please sign in to comment.