This commit is contained in:
parent
86eab355c6
commit
24553eb69a
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue