fix(scheduler): move mobile status to subtitle row

This commit is contained in:
jxxghp
2026-07-21 11:25:15 +08:00
parent 4da856fb6d
commit eee83542df
+18 -11
View File
@@ -207,13 +207,15 @@ const { loading: schedulerLoading } = useDataRefresh(
<div class="mobile-scheduler-content"> <div class="mobile-scheduler-content">
<h3>{{ getScheduleName(scheduler) }}</h3> <h3>{{ getScheduleName(scheduler) }}</h3>
<p>{{ getScheduleProvider(scheduler) }}</p> <div class="mobile-scheduler-meta">
<p>{{ getScheduleProvider(scheduler) }}</p>
<span class="mobile-scheduler-status" :class="`mobile-scheduler-status--${statusVariant}`">
{{ statusText }}
</span>
</div>
</div> </div>
<div class="mobile-scheduler-actions"> <div class="mobile-scheduler-actions">
<span class="mobile-scheduler-status" :class="`mobile-scheduler-status--${statusVariant}`">
{{ statusText }}
</span>
<VBtn <VBtn
icon icon
class="mobile-scheduler-run-btn" class="mobile-scheduler-run-btn"
@@ -349,20 +351,29 @@ const { loading: schedulerLoading } = useDataRefresh(
.mobile-scheduler-content p { .mobile-scheduler-content p {
overflow: hidden; overflow: hidden;
min-inline-size: 0;
color: rgba(var(--v-theme-on-surface), 0.58); color: rgba(var(--v-theme-on-surface), 0.58);
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
line-height: 1.35; line-height: 1;
margin-block: 6px 0; margin-block: 0;
margin-inline: 0; margin-inline: 0;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.mobile-scheduler-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-block-start: 6px;
min-inline-size: 0;
}
.mobile-scheduler-actions { .mobile-scheduler-actions {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 14px;
} }
.mobile-scheduler-progress { .mobile-scheduler-progress {
@@ -476,10 +487,6 @@ html[data-theme='transparent'] .mobile-scheduler-card,
font-size: 13px; font-size: 13px;
} }
.mobile-scheduler-actions {
gap: 8px;
}
.mobile-scheduler-status { .mobile-scheduler-status {
font-size: 12px; font-size: 12px;
padding-block: 5px; padding-block: 5px;