Skip to content

Commit

Permalink
chore: Make MarkdownTextBlock style Windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Dec 22, 2023
1 parent f1f3961 commit d52cf4f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Page.Resources>
<converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" />
<!-- Overriding the default Markdown styling to be inline with the default Windows typography / design guidelines -->
<Style TargetType="renderer:MarkdownTextBlock">
<win:Style TargetType="renderer:MarkdownTextBlock">
<Setter Property="Background" Value="Transparent" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="LinkForeground" Value="{ThemeResource AccentTextFillColorPrimaryBrush}" />
Expand Down Expand Up @@ -99,7 +99,7 @@
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</win:Style>

<DataTemplate x:Key="DocumentTemplate"
x:DataType="x:String">
Expand Down Expand Up @@ -316,4 +316,3 @@
</Grid>
</Grid>
</Page>

0 comments on commit d52cf4f

Please sign in to comment.