style(settings): drop the row gap in the pack and power-level lists so their hairline dividers sit flush like the rest

This commit is contained in:
heaven 2026-06-04 13:48:07 +03:00
parent af8e2963f1
commit 15ce5f4fb9
2 changed files with 151 additions and 147 deletions

View file

@ -275,6 +275,7 @@ export function RoomPacks({ onViewPack }: RoomPacksProps) {
<Text as="span" className={SectionLabel}>
{t('RoomSettings.packs')}
</Text>
<Box direction="Column">
{canEdit && <CreatePackTile roomId={room.roomId} packs={packs} />}
{packs.map(renderPack)}
{packs.length === 0 && (
@ -299,6 +300,7 @@ export function RoomPacks({ onViewPack }: RoomPacksProps) {
</Box>
)}
</Box>
</Box>
{hasChanges && (
<Menu

View file

@ -409,6 +409,7 @@ export function PowersEditor({ powerLevels, requestClose }: PowersEditorProps) {
</Text>
<BetaNoticeBadge />
</Box>
<Box direction="Column">
<Box className={SettingFlatRow} direction="Column" gap="400">
<SettingTile
title={t('RoomSettings.new_power_level')}
@ -543,6 +544,7 @@ export function PowersEditor({ powerLevels, requestClose }: PowersEditorProps) {
);
})}
</Box>
</Box>
{hasChanges && (
<Menu
style={{