Skip to content

Commit fb04c7a

Browse files
committed
fix: 修复页面滚动问题, 链接到 a744040
1 parent 38bfcf0 commit fb04c7a

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

DotVast.HashTool.WinUI/Controls/NavigationViewBodyScrollViewer/NavigationViewBodyScrollViewer.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
xmlns:dvhc="using:DotVast.HashTool.WinUI.Controls">
55

66
<Style TargetType="dvhc:NavigationViewBodyScrollViewer">
7+
<Setter Property="Background" Value="Transparent" />
78
<Setter Property="Margin" Value="0" />
89
<Setter Property="Template">
910
<Setter.Value>

DotVast.HashTool.WinUI/Controls/NavigationViewHeader/NavigationViewHeader.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
xmlns:dvhc="using:DotVast.HashTool.WinUI.Controls">
55

66
<Style TargetType="dvhc:NavigationViewHeader">
7+
<Setter Property="Background" Value="Transparent" />
78
<Setter Property="Margin" Value="0" />
89
<Setter Property="Template">
910
<Setter.Value>

DotVast.HashTool.WinUI/Styles/NavigationView.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
<Style x:Key="NavigationViewBodyContentStyle" TargetType="Grid">
2020
<Setter Property="Margin" Value="0,16,0,36" />
21-
<Setter Property="Background" Value="Transparent" />
2221
</Style>
2322

2423
</ResourceDictionary>

0 commit comments

Comments
 (0)