mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 09:01:17 -08:00
make typing indicator not cover scrollbar
This commit is contained in:
1 parent
6dab80de31
commit
dcd42eb79a
1 file changed
+5
-3
@@ -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`,
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user