Fix nested scrolling in markdown code blocks
This commit is contained in:
Родитель
5c1f338d31
Коммит
6023c59be1
|
@ -29,7 +29,9 @@
|
|||
Header2FontWeight="Bold"
|
||||
Header2Foreground="{ThemeResource DefaultTextForegroundThemeBrush}"
|
||||
Header2Margin="0,16,0,16"
|
||||
Text="{TemplateBinding Text}" />
|
||||
Text="{TemplateBinding Text}"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Disabled"
|
||||
ScrollViewer.VerticalScrollMode="Disabled"/>
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
|
|
|
@ -46,7 +46,9 @@
|
|||
Background="Transparent"
|
||||
BorderBrush="Transparent"
|
||||
BorderThickness="0"
|
||||
Text="{TemplateBinding XamlCode}" />
|
||||
Text="{TemplateBinding XamlCode}"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Disabled"
|
||||
ScrollViewer.VerticalScrollMode="Disabled"/>
|
||||
</Border>
|
||||
</muxc:TabViewItem>
|
||||
<muxc:TabViewItem Header="See C#" IsClosable="False">
|
||||
|
@ -56,7 +58,9 @@
|
|||
Background="Transparent"
|
||||
BorderBrush="Transparent"
|
||||
BorderThickness="0"
|
||||
Text="{TemplateBinding CSharpCode}" />
|
||||
Text="{TemplateBinding CSharpCode}"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Disabled"
|
||||
ScrollViewer.VerticalScrollMode="Disabled"/>
|
||||
</Border>
|
||||
</muxc:TabViewItem>
|
||||
</muxc:TabView>
|
||||
|
|
Загрузка…
Ссылка в новой задаче