File tree 1 file changed +8
-0
lines changed
src/NexusMods.App.UI/Controls/MarkdownRenderer
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 79
79
<Setter Property =" FontFamily" Value =" {StaticResource FontBodyRegular}" />
80
80
<Setter Property =" FontWeight" Value =" Normal" />
81
81
<Setter Property =" FontSize" Value =" 14" />
82
+
83
+ <!--
84
+ NOTE(erri120): LineHeight can't be used because every image gets put into a paragraph.
85
+ Setting LineHeight would also force the image height to that value.
86
+ The library we're using has many issues like this where the ideal solution would be to
87
+ apply styles to a parent control from the child control or from the parent control by
88
+ somehow checking if it has certain child controls.
89
+ -->
82
90
<!-- <Setter Property="LineHeight" Value="21" /> -->
83
91
<Setter Property =" Foreground" Value =" {StaticResource NeutralModerateBrush}" />
84
92
</Style >
You can’t perform that action at this time.
0 commit comments