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.currentTarget as HTMLElement).scrollBy({
left: ev.deltaY,
behavior: 'smooth',
behavior: 'instant',
});
}
return false;

View file

@ -147,10 +147,7 @@ onUnmounted(() => {
.tabs:first-child {
margin-left: auto;
}
.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%);
padding: 0 12px;
}
.tabs {
margin-right: auto;