diff --git a/src/app/features/room/RoomInput.css.ts b/src/app/features/room/RoomInput.css.ts index d4a1a471..1462baeb 100644 --- a/src/app/features/room/RoomInput.css.ts +++ b/src/app/features/room/RoomInput.css.ts @@ -6,8 +6,8 @@ export const RoomInputWrap = style({ width: '100%', }); -/* Notebook-flat composer chrome — Stationery only (other themes keep Editor inset border) */ -globalStyle(`.stationery ${RoomInputWrap} .${editorCss.Editor}`, { +/* Notebook-flat composer chrome — all themes */ +globalStyle(`${RoomInputWrap} .${editorCss.Editor}`, { borderRadius: 0, boxShadow: 'none', borderTop: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`, diff --git a/src/app/features/room/RoomInput.tsx b/src/app/features/room/RoomInput.tsx index 5f382d72..8d6719e8 100644 --- a/src/app/features/room/RoomInput.tsx +++ b/src/app/features/room/RoomInput.tsx @@ -100,7 +100,7 @@ import colorMXID from '../../../util/colorMXID'; import { useIsDirectRoom } from '../../hooks/useRoom'; import { useAccessiblePowerTagColors, useGetMemberPowerTag } from '../../hooks/useMemberPowerTag'; import { useRoomCreators } from '../../hooks/useRoomCreators'; -import { isStationeryTheme, useTheme } from '../../hooks/useTheme'; +import { useTheme } from '../../hooks/useTheme'; import { useRoomCreatorsTag } from '../../hooks/useRoomCreatorsTag'; import { usePowerLevelTags } from '../../hooks/usePowerLevelTags'; import { useComposingCheck } from '../../hooks/useComposingCheck'; @@ -694,9 +694,9 @@ export const RoomInput = forwardRef( backgroundColor: color.SurfaceVariant.Container, border: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`, borderBottom: 'none', - borderRadius: isStationeryTheme(theme) ? 0 : undefined, - borderTopLeftRadius: isStationeryTheme(theme) ? undefined : config.radii.R400, - borderTopRightRadius: isStationeryTheme(theme) ? undefined : config.radii.R400, + borderRadius: 0, + borderTopLeftRadius: 0, + borderTopRightRadius: 0, marginBottom: config.space.S100, }} direction="Column"