enhance(client): tweak clock

This commit is contained in:
syuilo
2022-08-27 00:40:20 +09:00
parent 773139b737
commit 0dfb9f8291
2 changed files with 43 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="mkw-unixClock _monospace" :class="{ _panel: !widgetProps.transparent }" :style="{ fontSize: `${widgetProps.fontSize}em` }">
<div v-if="widgetProps.showLabel" class="label">UNIX time</div>
<div v-if="widgetProps.showLabel" class="label">UNIX Epoch</div>
<div class="time">
<span v-text="ss"></span>
<span v-if="widgetProps.showMs" class="colon" :class="{ showColon }">:</span>