make typing indicator not cover scrollbar

This commit is contained in:
7w1 committed 2026-07-21 11:59:13 -05:00
1 parent 6dab80de31
commit dcd42eb79a
1 file changed
+5 -3
+5 -3
View File
@@ -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`,
},
]);