Incorrect size of DialogHeader for mobile (#3236)

* Incorrect size of `DialogHeader` for mobile

Resolves #2979

* update screenshots
This commit is contained in:
tom goriunov
2026-01-19 11:38:07 +01:00
committed by GitHub
parent 7ae9b1a216
commit 0a53890f64
8 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -76,7 +76,10 @@ export const recipe = defineSlotRecipe({
mt: '6',
},
title: {
textStyle: 'heading.lg',
textStyle: { base: 'heading.md', lg: 'heading.lg' },
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
fontWeight: '500',
},
description: {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 33 KiB

+1 -1
View File
@@ -52,7 +52,7 @@ const DeleteModal: React.FC<Props> = ({
return (
<DialogRoot open={ open } onOpenChange={ onModalOpenChange } size={ isMobile ? 'full' : 'md' }>
<DialogContent>
<DialogHeader fontWeight="500" textStyle="h3">{ title }</DialogHeader>
<DialogHeader>{ title }</DialogHeader>
<DialogBody>
{ isAlertVisible && <Box mb={ 4 }><FormSubmitAlert/></Box> }
{ renderContent() }
@@ -169,7 +169,7 @@ const TokenInstanceMetadataFetcher = ({ hash, id }: Props) => {
closeOnInteractOutside={ false }
>
<DialogContent>
<DialogHeader fontWeight="500" textStyle="h3" mb={ 4 }>Sending request</DialogHeader>
<DialogHeader mb={ 4 }>Sending request</DialogHeader>
<DialogBody mb={ 0 } minH="78px">
{ config.services.reCaptchaV2.siteKey ? (
<>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 43 KiB