style: 首页学时说明改为居中橙色

This commit is contained in:
Nixevol
2026-11-19 02:45:39 +08:00
parent a717ac714d
commit b7895785da
2 changed files with 4 additions and 10 deletions
+1 -1
View File
@@ -994,7 +994,6 @@ onUnmounted(() => {
<div class="spin" role="status" aria-label="正在获取"></div>
</div>
</div>
<p v-if="summary?.hours_source === 'history'" class="hours-source-note">{{ historyHoursNote }}</p>
<n-tooltip placement="bottom">
<template #trigger>
<n-button
@@ -1012,6 +1011,7 @@ onUnmounted(() => {
刷新数据
</n-tooltip>
</div>
<p v-if="summary?.hours_source === 'history'" class="hours-source-note">{{ historyHoursNote }}</p>
<dl class="facts">
<div v-for="item in facts" :key="item.label">
<dt>{{ item.label }}</dt>
+3 -9
View File
@@ -599,12 +599,11 @@ select {
}
.hours-source-note {
flex: 1 1 240px;
margin: 2px 0 0;
color: var(--muted);
margin: 0;
color: #f5a524;
font-size: 12px;
line-height: 1.55;
text-align: right;
text-align: center;
}
.home-refresh.n-button {
@@ -1443,11 +1442,6 @@ select {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hours-source-note {
flex-basis: 100%;
text-align: left;
}
.history-facts {
grid-template-columns: repeat(2, minmax(0, 1fr));
}