mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-27 07:34:12 +08:00
fix(rules): text spacing of updated at
This commit is contained in:
parent
025b66e2fe
commit
342119e01e
@ -205,7 +205,7 @@ export default () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-xs text-slate-500">
|
<div class="text-xs text-slate-500">
|
||||||
{rule.type} :: {rule.proxy}
|
{`${rule.type} :: ${rule.proxy}`}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -240,15 +240,14 @@ export default () => {
|
|||||||
<div class="card card-bordered card-compact bg-base-200 p-4">
|
<div class="card card-bordered card-compact bg-base-200 p-4">
|
||||||
<div class="flex items-center gap-2 pr-8">
|
<div class="flex items-center gap-2 pr-8">
|
||||||
<span class="break-all">{ruleProvider.name}</span>
|
<span class="break-all">{ruleProvider.name}</span>
|
||||||
|
|
||||||
<div class="badge badge-sm">
|
<div class="badge badge-sm">
|
||||||
{ruleProvider.ruleCount}
|
{ruleProvider.ruleCount}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-xs text-slate-500">
|
<div class="text-xs text-slate-500">
|
||||||
{ruleProvider.vehicleType} / {ruleProvider.behavior} /
|
{`${ruleProvider.vehicleType} / ${ruleProvider.behavior} / ${t('updated')} ${formatTimeFromNow(ruleProvider.updatedAt)}`}
|
||||||
{t('updated')}{' '}
|
|
||||||
{formatTimeFromNow(ruleProvider.updatedAt)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
@ -24,9 +24,13 @@ export default defineConfig({
|
|||||||
|
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
includeAssets: ['favicon.svg'],
|
includeAssets: ['favicon.svg', ''],
|
||||||
workbox: { maximumFileSizeToCacheInBytes: 5 * 1024 * 1024 },
|
workbox: { maximumFileSizeToCacheInBytes: 5 * 1024 * 1024 },
|
||||||
manifest: {
|
manifest: {
|
||||||
|
name: 'MetaCubeXD',
|
||||||
|
short_name: 'MetaCubeXD',
|
||||||
|
description: 'Mihomo Dashboard, The Official One, XD',
|
||||||
|
theme_color: '#000000',
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
src: 'pwa-192x192.png',
|
src: 'pwa-192x192.png',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user