Skip to content

Commit 66d6e5d

Browse files
MartinZikmundArlodotexe
authored andcommitted
chore: Make MarkdownTextBlock style Windows only
1 parent 6a28354 commit 66d6e5d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CommunityToolkit.App.Shared/Renderers/ToolkitDocumentationRenderer.xaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Page.Resources>
2020
<converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" />
2121
<!-- Overriding the default Markdown styling to be inline with the default Windows typography / design guidelines -->
22-
<Style TargetType="renderer:MarkdownTextBlock">
22+
<win:Style TargetType="renderer:MarkdownTextBlock">
2323
<Setter Property="Background" Value="Transparent" />
2424
<Setter Property="IsTabStop" Value="False" />
2525
<Setter Property="LinkForeground" Value="{ThemeResource AccentTextFillColorPrimaryBrush}" />
@@ -99,7 +99,7 @@
9999
</ControlTemplate>
100100
</Setter.Value>
101101
</Setter>
102-
</Style>
102+
</win:Style>
103103

104104
<DataTemplate x:Key="DocumentTemplate"
105105
x:DataType="x:String">
@@ -316,4 +316,3 @@
316316
</Grid>
317317
</Grid>
318318
</Page>
319-

0 commit comments

Comments
 (0)