Skip to content
TypeScript

fix(web): prevent seams in the topbar scroll fade (#10914)

Henry Zhang21a5ccf881ab
diff --git a/apps/web/src/index.css b/apps/web/src/index.css
index f7f669b804f..c11b2d0f4ff 100644
--- a/apps/web/src/index.css
+++ b/apps/web/src/index.css
@@ -363,7 +363,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
-webkit-mask-position: top, bottom, right;
-webkit-mask-repeat: no-repeat;
-webkit-mask-size:
- 100% var(--workspace-titlebar-scroll-fade-height),
+ 100% calc(var(--workspace-titlebar-scroll-fade-height) + 1px),
100% calc(100% - var(--workspace-titlebar-scroll-fade-height)),
var(--app-scrollbar-width) 100%;
mask-image:
@@ -381,7 +381,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
mask-position: top, bottom, right;
mask-repeat: no-repeat;
mask-size:
- 100% var(--workspace-titlebar-scroll-fade-height),
+ 100% calc(var(--workspace-titlebar-scroll-fade-height) + 1px),
100% calc(100% - var(--workspace-titlebar-scroll-fade-height)),
var(--app-scrollbar-width) 100%;
}