From 467b0d4431f83cd99ac35704fdee873a9069e16a Mon Sep 17 00:00:00 2001 From: bd_ Date: Tue, 13 Aug 2024 20:32:48 -0700 Subject: [PATCH] ui: fix accidentally deleted USS for unregistered parameters (#1005) --- Editor/Inspector/Parameters/Parameters.uss | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Editor/Inspector/Parameters/Parameters.uss b/Editor/Inspector/Parameters/Parameters.uss index 5e663dad..3f097dec 100644 --- a/Editor/Inspector/Parameters/Parameters.uss +++ b/Editor/Inspector/Parameters/Parameters.uss @@ -150,4 +150,24 @@ Label#f-default-param { margin: 0 0 0 0; overflow: hidden; color: rgba(255, 255, 255, 0.4) !important; -} \ No newline at end of file +} + +.DetectedParameter { + flex-direction: row; + margin-top: 2px; + margin-bottom: 2px; +} + +.DetectedParameter > Label { + flex-grow: 1; + align-self: center; +} + +.SourceButton { + flex-grow: 0; + align-self: flex-end; + height: 24px; + width: 24px; + padding: 1px; +} +