mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 17:08:57 +01:00
Axo dialog design updates & aria checks
This commit is contained in:
@@ -12,7 +12,7 @@ export function DeleteChatFolderDialog(props: {
|
||||
onConfirm: () => void;
|
||||
}): JSX.Element {
|
||||
return (
|
||||
<AxoAlertDialog.Content size="sm" escape="cancel-is-noop">
|
||||
<AxoAlertDialog.Content escape="cancel-is-noop">
|
||||
<AxoAlertDialog.Body>
|
||||
<AxoAlertDialog.Title>{props.title}</AxoAlertDialog.Title>
|
||||
<AxoAlertDialog.Description>
|
||||
|
||||
@@ -393,7 +393,7 @@ function ChatFolderPresetItem(props: ChatFolderPresetItemProps) {
|
||||
<ItemDescription>{props.config.description}</ItemDescription>
|
||||
</ItemBody>
|
||||
<AxoButton.Root
|
||||
size="medium"
|
||||
size="md"
|
||||
variant="secondary"
|
||||
onClick={handleCreateChatFolder}
|
||||
>
|
||||
|
||||
@@ -550,14 +550,14 @@ export function PreferencesEditChatFolderPage(
|
||||
actions={
|
||||
<>
|
||||
<AxoButton.Root
|
||||
size="large"
|
||||
size="lg"
|
||||
variant="secondary"
|
||||
onClick={handleDiscardAndBack}
|
||||
>
|
||||
{i18n('icu:Preferences__EditChatFolderPage__CancelButton')}
|
||||
</AxoButton.Root>
|
||||
<AxoButton.Root
|
||||
size="large"
|
||||
size="lg"
|
||||
variant="primary"
|
||||
onClick={handleSaveChangesAndBack}
|
||||
disabled={!(isChanged && isValid)}
|
||||
|
||||
Reference in New Issue
Block a user