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

View file

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