Skip to content

Commit 8aef31b

Browse files
authored
fix(ui): align update status card spacing (#124878)
1 parent 03f4ff5 commit 8aef31b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎ui/src/styles/layout.css‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,6 @@ openclaw-settings-save-indicator {
11491149

11501150
.sidebar-update-card__actions {
11511151
display: flex;
1152-
align-items: stretch;
11531152
gap: 5px;
11541153
}
11551154

@@ -1246,8 +1245,7 @@ html.openclaw-native-macos
12461245
cursor: wait;
12471246
}
12481247

1249-
/* The install outlives the request that started it, so the card keeps moving
1250-
for the whole wait instead of reading as a dead disabled button. */
1248+
/* Keep the card moving while its install outlives the initiating request. */
12511249
.sidebar-update-card__action--busy .sidebar-update-card__icon svg {
12521250
animation: sidebar-update-card-spin 1s linear infinite;
12531251
}
@@ -1264,22 +1262,24 @@ html.openclaw-native-macos
12641262
}
12651263
}
12661264

1267-
/* The update outcome belongs beside the control that started it, not over the
1268-
top of the shell where it covers unrelated chrome. While the update dialog is
1269-
open it owns the report, so the ambient copy would only duplicate it. */
1265+
/* Keep the outcome beside its control, except while the dialog owns the report. */
12701266
body.update-dialog-open .sidebar-update-card__status {
12711267
display: none;
12721268
}
12731269

12741270
.sidebar-update-card__status {
1275-
padding: 8px 10px;
1271+
padding: 8px;
12761272
border-radius: var(--radius-md);
12771273
border: 1px solid var(--border);
12781274
background: var(--secondary);
12791275
font-size: 12px;
12801276
line-height: 1.45;
12811277
}
12821278

1279+
.sidebar-update-card__status + .sidebar-update-card__actions {
1280+
margin-top: 6px;
1281+
}
1282+
12831283
.sidebar-update-card__status--danger {
12841284
border-color: color-mix(in srgb, var(--danger) 40%, var(--border));
12851285
background: color-mix(in srgb, var(--danger) 10%, transparent);

0 commit comments

Comments
 (0)