From dcd42eb79a253acaa2d6e60d3c17e49fade6fcd9 Mon Sep 17 00:00:00 2001 From: 7w1 Date: Tue, 21 Jul 2026 11:59:13 -0500 Subject: [PATCH] make typing indicator not cover scrollbar --- src/app/features/room/RoomViewTyping.css.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/features/room/RoomViewTyping.css.ts b/src/app/features/room/RoomViewTyping.css.ts index 5c90a178b..f01c4833d 100644 --- a/src/app/features/room/RoomViewTyping.css.ts +++ b/src/app/features/room/RoomViewTyping.css.ts @@ -1,5 +1,5 @@ import { keyframes, style } from '@vanilla-extract/css'; -import { DefaultReset, color, config } from 'folds'; +import { DefaultReset, color, config, toRem } from 'folds'; const SlideUpAnime = keyframes({ from: { @@ -13,12 +13,14 @@ const SlideUpAnime = keyframes({ export const RoomViewTyping = style([ DefaultReset, { - padding: `0 ${config.space.S500}`, - width: '100%', + padding: `0 ${config.space.S200} 0 ${config.space.S500}`, backgroundColor: color.Surface.Container, color: color.Surface.OnContainer, position: 'absolute', bottom: 0, + left: 0, + right: toRem(16), + zIndex: 2, animation: `${SlideUpAnime} 100ms ease-in-out`, }, ]);