diff --git a/src/app/features/common-settings/permissions/PowersEditor.tsx b/src/app/features/common-settings/permissions/PowersEditor.tsx index c3fc3c7b..b08cc742 100644 --- a/src/app/features/common-settings/permissions/PowersEditor.tsx +++ b/src/app/features/common-settings/permissions/PowersEditor.tsx @@ -29,10 +29,10 @@ import { HexColorPicker } from 'react-colorful'; import { useTranslation } from 'react-i18next'; import { useAtomValue } from 'jotai'; import type { StateEvents } from 'matrix-js-sdk'; +import classNames from 'classnames'; import { Page, PageContent, PageHeader } from '../../../components/page'; import { IPowerLevels } from '../../../hooks/usePowerLevels'; -import { SequenceCard } from '../../../components/sequence-card'; -import { SequenceCardStyle } from '../styles.css'; +import { SectionLabel, SettingFlatRow, SettingFlatRowCritical } from '../../settings/styles.css'; import { SettingTile } from '../../../components/setting-tile'; import { getPowers, @@ -402,17 +402,14 @@ export function PowersEditor({ powerLevels, requestClose }: PowersEditorProps) { - + - {t('RoomSettings.power_levels')} + + {t('RoomSettings.power_levels')} + - + setCreateTag(false)} /> )} - + {getPowers(powerTags).map((power) => { const tag = powerTags[power]; const tagIconSrc = tag.icon && getPowerTagIconSrc(mx, useAuthentication, tag.icon); return ( - @@ -540,7 +539,7 @@ export function PowersEditor({ powerLevels, requestClose }: PowersEditorProps) { ) } - + ); })}