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

@ -23,7 +23,7 @@ namespace SourceGit.Commands {
b.UpstreamTrackStatus = string.Empty; b.UpstreamTrackStatus = string.Empty;
} else { } else {
b.UpstreamTrackStatus = ParseTrackStatus(b.Name, b.Upstream); b.UpstreamTrackStatus = ParseTrackStatus(b.Name, b.Upstream);
} }
} }
} }

View file

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