fix: stabilize usage loading and session search

This commit is contained in:
shiyue
2026-08-05 10:41:50 +08:00
parent c61b7434d2
commit 3f00cfe7a4
22 changed files with 109 additions and 47 deletions

View File

@@ -10209,7 +10209,6 @@ html[data-theme='gilded'] {
scrollbar-gutter: stable;
}
.usage-dashboard__loading,
.usage-dashboard__error {
margin-bottom: 14px;
padding: 10px 12px;
@@ -10220,18 +10219,6 @@ html[data-theme='gilded'] {
font-size: 12px;
}
.usage-dashboard__loading::before {
content: '';
display: inline-block;
width: 9px;
height: 9px;
margin-right: 8px;
border: 2px solid var(--usage-dashboard-border);
border-top-color: var(--usage-dashboard-accent);
border-radius: 50%;
animation: usageDashboardSpin 800ms linear infinite;
}
.usage-dashboard__error {
color: var(--usage-dashboard-danger);
border-color: color-mix(in srgb, var(--usage-dashboard-danger) 30%, transparent);
@@ -10812,7 +10799,6 @@ html[data-theme='gilded'] {
padding: 8px 14px 30px;
}
.usage-dashboard__loading,
.usage-dashboard__error {
margin-bottom: 10px;
}
@@ -11950,7 +11936,6 @@ html[data-theme='wasteland'] :is(
.usage-dashboard__dates input,
.usage-dashboard__metric,
.usage-dashboard__panel,
.usage-dashboard__loading,
.usage-dashboard__error,
.usage-dashboard__badge,
.usage-dashboard__row-action
@@ -11973,7 +11958,6 @@ html[data-theme='wasteland'] .usage-dashboard__metric {
@media (prefers-reduced-motion: reduce) {
.usage-dashboard,
.usage-dashboard__loading::before,
.usage-dashboard__refresh svg,
.usage-dashboard-open,
.usage-dashboard__icon-button,
@@ -11984,8 +11968,4 @@ html[data-theme='wasteland'] .usage-dashboard__metric {
transition: none !important;
scroll-behavior: auto !important;
}
.usage-dashboard__loading::before {
border-color: var(--usage-dashboard-accent);
}
}