Skip to content

Commit

Permalink
style: remove popup's border on non-linux platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
love-linger committed Mar 8, 2024
1 parent c14b7eb commit 61e1491
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/QueryBranches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public QueryBranches(string repo) {
b.UpstreamTrackStatus = string.Empty;
} else {
b.UpstreamTrackStatus = ParseTrackStatus(b.Name, b.Upstream);
}
}
}
}

Expand Down
5 changes: 4 additions & 1 deletion src/Views/Launcher.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 61e1491

Please sign in to comment.