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