Skip to content

Commit 75e1013

Browse files
fix(ci): deduplicate Control UI skeleton styles
1 parent ee036be commit 75e1013

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

‎ui/src/styles/chat/layout.css‎

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,29 +1663,28 @@ openclaw-chat-video-player {
16631663
color: inherit;
16641664
}
16651665

1666-
.chat-assistant-attachment-card--checking {
1666+
.chat-assistant-attachment-card--checking,
1667+
.chat-controls__model-trigger-skeleton {
16671668
--skeleton-base: color-mix(in srgb, var(--muted) 15%, transparent);
16681669
--skeleton-highlight: color-mix(in srgb, var(--text) 30%, transparent);
16691670
}
16701671

16711672
.chat-assistant-attachment-card__status-meta.skeleton {
16721673
inline-size: clamp(112px, 14vw, 144px);
1673-
max-inline-size: 100%;
16741674
}
16751675

16761676
.chat-assistant-attachment-card__action-skeleton {
16771677
position: absolute;
1678-
inset-block-start: 0;
1678+
inset-block: 0;
16791679
inset-inline-end: 0;
1680-
inline-size: 64px;
1681-
block-size: 30px;
1682-
border-radius: 999px;
1680+
width: 64px;
1681+
border-radius: 50%;
16831682
}
16841683

16851684
.chat-assistant-attachment-card__actions--loading {
16861685
position: relative;
1687-
padding-inline-start: 38px;
1688-
block-size: 30px;
1686+
padding-inline: 38px 0;
1687+
height: 30px;
16891688
font-size: 12px;
16901689
font-weight: 600;
16911690
}
@@ -6248,8 +6247,6 @@ button.chat-pr__diff {
62486247
}
62496248

62506249
.chat-controls__model-trigger-skeleton {
6251-
--skeleton-base: color-mix(in srgb, var(--muted) 15%, transparent);
6252-
--skeleton-highlight: color-mix(in srgb, var(--text) 30%, transparent);
62536250
--skeleton-duration: 1.45s;
62546251

62556252
display: block;

0 commit comments

Comments
 (0)