Skip to content

Commit

Permalink
Move margin to the right place. (#4715)
Browse files Browse the repository at this point in the history
  • Loading branch information
teaP authored Apr 12, 2021
1 parent ac9e046 commit 53ae89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/CommonStyles/CommandBar_themeresources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,6 @@
</Grid.Clip>
<Grid x:Name="ContentRoot"
VerticalAlignment="Top"
Margin="{TemplateBinding Padding}"
Height="{TemplateBinding Height}"
MinHeight="{ThemeResource AppBarThemeCompactHeight}"
Background="{TemplateBinding Background}"
Expand All @@ -843,6 +842,7 @@
<!-- Use a ContentControl rather than a ContentPresenter so that IsEnabled can be set to false
in the Minimal/HiddenClosed states to remove it from being a tab-stop candidate. -->
<ContentControl x:Name="ContentControl"
Margin="{TemplateBinding Padding}"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
ContentTransitions="{TemplateBinding ContentTransitions}"
Expand Down

0 comments on commit 53ae89b

Please sign in to comment.