File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
UnityProject/Packages/com.jasonxudeveloper.jengine.core/Editor/CustomEditor Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ Foldout {
115115.form-row {
116116 display: flex;
117117 flex-direction: row;
118+ flex-wrap: wrap;
118119 align-items: center;
119120 justify-content: flex-start;
120121 margin: 4px 0;
@@ -141,6 +142,7 @@ Foldout {
141142 flex-grow: 1;
142143 flex-shrink: 1;
143144 min-width: 120px;
145+ flex-basis: 0;
144146 align-self: center;
145147 display: flex;
146148 align-items: center;
@@ -150,6 +152,7 @@ Foldout {
150152 flex-grow: 1;
151153 flex-shrink: 1;
152154 min-width: 120px;
155+ flex-basis: 0;
153156 margin-right: 8px;
154157 align-self: center;
155158 display: flex;
Original file line number Diff line number Diff line change @@ -222,7 +222,6 @@ private void RefreshScenesPage(string[] sceneAssets)
222222 value = sceneAsset
223223 } ;
224224 sceneField . SetEnabled ( false ) ;
225- sceneField . AddToClassList ( "form-control" ) ;
226225 sceneField . AddToClassList ( "scene-field" ) ;
227226 EditorUIUtils . MakeTextResponsive ( sceneField ) ;
228227
Original file line number Diff line number Diff line change 161161}
162162
163163.scene-item-container {
164+ display: flex;
164165 flex-direction: column;
166+ align-items: stretch;
165167 width: 100%;
166168 margin-bottom: 12px;
167169 margin-left: 0;
170172
171173.scene-field {
172174 width: 100%;
173- margin-bottom: 4px;
175+ margin-bottom: 8px;
176+ flex-grow: 0;
177+ flex-shrink: 0;
178+ flex-basis: auto;
174179}
175180
176181.pagination-container {
You can’t perform that action at this time.
0 commit comments