Move PART_DialogHost margin value to Dialog itself
MODIFY
WalletWasabi.Fluent/Controls/Dialog.axaml
WalletWasabi.Fluent/Controls/Dialog.axaml
<Setter Property="Opacity" Value="0"/>
</Style>
<Style Selector="c|Dialog /template/ Panel#PART_DialogHost">
- <Setter Property="Margin" Value="20"/>
+ <Setter Property="Margin" Value="20,30,20,20"/>
<Setter Property="Transitions">
<Transitions>
<TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.35" Easing="{StaticResource FluentEasing}" />

MODIFY
WalletWasabi.Fluent/Views/MainView.axaml
WalletWasabi.Fluent/Views/MainView.axaml
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<c:Dialog.Styles>
- <Style Selector="c|Dialog /template/ Panel#PART_DialogHost">
- <Setter Property="Margin" Value="20,30,20,20"/>
- </Style>
<Style Selector="c|Dialog:open /template/ Panel#PART_Overlay">
<Setter Property="IsHitTestVisible" Value="False"/>
</Style>
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
MaxContentWidth="800" MaxContentHeight="700">
<c:Dialog.Styles>
- <Style Selector="c|Dialog /template/ Panel#PART_DialogHost">
- <Setter Property="Margin" Value="20,30,20,20"/>
- </Style>
<Style Selector="c|Dialog:open /template/ Panel#PART_Overlay">
<Setter Property="IsHitTestVisible" Value="False"/>
</Style>
IsEnabled="{Binding $parent.DataContext.IsDialogScreenEnabled}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<c:Dialog.Styles>
- <Style Selector="c|Dialog /template/ Panel#PART_DialogHost">
- <Setter Property="Margin" Value="20,30,20,20"/>
- </Style>
<Style Selector="c|Dialog:open /template/ Panel#PART_Overlay">
<Setter Property="IsHitTestVisible" Value="False"/>
</Style>

Move PART_DialogHost margin value to Dialog itself