0
0
This commit is contained in:
syuilo 2023-02-25 18:03:16 +09:00
parent 86eab355c6
commit 24553eb69a
2 changed files with 2 additions and 5 deletions

View File

@ -103,7 +103,7 @@ function onTabWheel(ev: WheelEvent) {
ev.stopPropagation(); ev.stopPropagation();
(ev.currentTarget as HTMLElement).scrollBy({ (ev.currentTarget as HTMLElement).scrollBy({
left: ev.deltaY, left: ev.deltaY,
behavior: 'smooth', behavior: 'instant',
}); });
} }
return false; return false;

View File

@ -147,10 +147,7 @@ onUnmounted(() => {
.tabs:first-child { .tabs:first-child {
margin-left: auto; margin-left: auto;
} padding: 0 12px;
.tabs:not(:first-child) {
padding-left: 16px;
mask-image: linear-gradient(90deg, rgba(0,0,0,0), rgb(0,0,0) 16px, rgb(0,0,0) 100%);
} }
.tabs { .tabs {
margin-right: auto; margin-right: auto;