From dc010181057334004eccf4892f350ba27df6061e Mon Sep 17 00:00:00 2001 From: litruv Date: Tue, 6 Oct 2026 00:04:56 +1100 Subject: [PATCH] Remove left/right composer padding and side/bottom borders, keep top border only --- overlay/src/app/components/editor/Editor.css.ts | 10 +--------- overlay/src/app/features/room/RoomView.tsx | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/overlay/src/app/components/editor/Editor.css.ts b/overlay/src/app/components/editor/Editor.css.ts index 062ce0e..6e56d56 100644 --- a/overlay/src/app/components/editor/Editor.css.ts +++ b/overlay/src/app/components/editor/Editor.css.ts @@ -6,16 +6,8 @@ export const Editor = style([ { backgroundColor: color.SurfaceVariant.Container, color: color.SurfaceVariant.OnContainer, - boxShadow: `inset 0 0 0 ${config.borderWidth.B300} ${color.SurfaceVariant.ContainerLine}`, - borderRadius: config.radii.R400, + borderTop: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`, overflow: 'hidden', - selectors: { - // Keyboard-flush dock: only a top edge so the input can sit on the IME. - '[data-composer-flush="true"] &': { - borderRadius: 0, - boxShadow: `inset 0 ${config.borderWidth.B300} 0 0 ${color.SurfaceVariant.ContainerLine}`, - }, - }, }, ]); diff --git a/overlay/src/app/features/room/RoomView.tsx b/overlay/src/app/features/room/RoomView.tsx index 98d102e..6bd2149 100644 --- a/overlay/src/app/features/room/RoomView.tsx +++ b/overlay/src/app/features/room/RoomView.tsx @@ -106,7 +106,7 @@ export function RoomView({ room, eventId }: { room: Room; eventId?: string }) { ); const flushComposer = immersive; - const composerPadding = flushComposer ? '0' : `0 ${config.space.S400}`; + const composerPadding = '0'; const showHeader = !immersive; return (