Skip to content

Commit bae596b

Browse files
committed
fixup! ✨(frontend) add floating bar with collapse button
1 parent 96ee093 commit bae596b

File tree

1 file changed

+2
-0
lines changed
  • src/frontend/apps/impress/src/features/docs/doc-header/floating-bar/components

1 file changed

+2
-0
lines changed

src/frontend/apps/impress/src/features/docs/doc-header/floating-bar/components/FloatingBar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ export const FloatingBar = () => {
3939
background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
4040
backdrop-filter: blur(1px);
4141
-webkit-backdrop-filter: blur(1px);
42+
mask-image: linear-gradient(180deg, black 0%, transparent 100%);
43+
-webkit-mask-image: linear-gradient(180deg, black 50%, transparent 100%);
4244
4345
> * {
4446
position: relative;

0 commit comments

Comments
 (0)