]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Ghost role drop-down alignment (#33397)
authorIntoxicating-Innocence <188202277+Intoxicating-Innocence@users.noreply.github.com>
Tue, 26 Nov 2024 08:28:31 +0000 (19:28 +1100)
committerGitHub <noreply@github.com>
Tue, 26 Nov 2024 08:28:31 +0000 (09:28 +0100)
* dropdown shares margin width with children

* removed dependency that rider added for some reason

* reduced vertical margin from 8 to 2

Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs

index 627ecfe987a5ee5ad6b33dd62fe79d2115355f0c..9e2ff816b36d7d06ae3aa418f73f88e8c3138665 100644 (file)
@@ -71,6 +71,7 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
                 buttonHeading.AddStyleClass(ContainerButton.StyleClassButton);
                 buttonHeading.Label.HorizontalAlignment = HAlignment.Center;
                 buttonHeading.Label.HorizontalExpand = true;
+                buttonHeading.Margin = new Thickness(8, 0, 8, 2);
 
                 var body = new CollapsibleBody
                 {