style: remove popup's border on non-linux platforms

This commit is contained in:
leo 2024-03-08 17:41:10 +08:00
parent c14b7ebbe1
commit 61e1491854
2 changed files with 5 additions and 2 deletions

View file

@ -248,12 +248,15 @@
<DataTemplate DataType="vm:Popup">
<Border Margin="8,0,8,8"
Background="{DynamicResource Brush.Popup}"
BorderThickness="1,0,1,1"
BorderBrush="{DynamicResource Brush.Border0}">
<Border.CornerRadius>
<OnPlatform Default="0,0,4,4" Linux="0"/>
</Border.CornerRadius>
<Border.BorderThickness>
<OnPlatform Default="0" Linux="1,0,1,1"/>
</Border.BorderThickness>
<Border.Effect>
<OnPlatform>
<On Options="Windows, macOS">