Apply the flat composer chrome to all themes instead of stationery only.
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-10-13 03:10:20 +11:00
parent 2639982d5b
commit bd649d4e16
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ export const RoomInputWrap = style({
width: '100%', width: '100%',
}); });
/* Notebook-flat composer chrome — Stationery only (other themes keep Editor inset border) */ /* Notebook-flat composer chrome — all themes */
globalStyle(`.stationery ${RoomInputWrap} .${editorCss.Editor}`, { globalStyle(`${RoomInputWrap} .${editorCss.Editor}`, {
borderRadius: 0, borderRadius: 0,
boxShadow: 'none', boxShadow: 'none',
borderTop: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`, borderTop: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`,
+4 -4
View File
@@ -100,7 +100,7 @@ import colorMXID from '../../../util/colorMXID';
import { useIsDirectRoom } from '../../hooks/useRoom'; import { useIsDirectRoom } from '../../hooks/useRoom';
import { useAccessiblePowerTagColors, useGetMemberPowerTag } from '../../hooks/useMemberPowerTag'; import { useAccessiblePowerTagColors, useGetMemberPowerTag } from '../../hooks/useMemberPowerTag';
import { useRoomCreators } from '../../hooks/useRoomCreators'; import { useRoomCreators } from '../../hooks/useRoomCreators';
import { isStationeryTheme, useTheme } from '../../hooks/useTheme'; import { useTheme } from '../../hooks/useTheme';
import { useRoomCreatorsTag } from '../../hooks/useRoomCreatorsTag'; import { useRoomCreatorsTag } from '../../hooks/useRoomCreatorsTag';
import { usePowerLevelTags } from '../../hooks/usePowerLevelTags'; import { usePowerLevelTags } from '../../hooks/usePowerLevelTags';
import { useComposingCheck } from '../../hooks/useComposingCheck'; import { useComposingCheck } from '../../hooks/useComposingCheck';
@@ -694,9 +694,9 @@ export const RoomInput = forwardRef<HTMLDivElement, RoomInputProps>(
backgroundColor: color.SurfaceVariant.Container, backgroundColor: color.SurfaceVariant.Container,
border: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`, border: `${config.borderWidth.B300} solid ${color.SurfaceVariant.ContainerLine}`,
borderBottom: 'none', borderBottom: 'none',
borderRadius: isStationeryTheme(theme) ? 0 : undefined, borderRadius: 0,
borderTopLeftRadius: isStationeryTheme(theme) ? undefined : config.radii.R400, borderTopLeftRadius: 0,
borderTopRightRadius: isStationeryTheme(theme) ? undefined : config.radii.R400, borderTopRightRadius: 0,
marginBottom: config.space.S100, marginBottom: config.space.S100,
}} }}
direction="Column" direction="Column"