mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
style: remove popup's border on non-linux platforms
This commit is contained in:
parent
c14b7ebbe1
commit
61e1491854
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue