Skip to content
Snippets Groups Projects
Commit 034b8f09 authored by syuilo's avatar syuilo
Browse files

enhance(client):

parent c537a0ba
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,8 @@
<span class="year">{{ $t('yearX', { year }) }}</span>
<span class="month">{{ $t('monthX', { month }) }}</span>
</p>
<p class="day">{{ $t('dayX', { day }) }}</p>
<p v-if="month === 1 && day === 1" class="day">🎉{{ $t('dayX', { day }) }}<span style="display: inline-block; transform: scaleX(-1);">🎉</span></p>
<p v-else class="day">{{ $t('dayX', { day }) }}</p>
<p class="week-day">{{ weekDay }}</p>
</div>
<div class="info">
......@@ -34,7 +35,6 @@
<script lang="ts">
import { defineComponent } from 'vue';
import define from './define';
import * as os from '@/os';
const widget = define({
name: 'calendar',
......@@ -127,12 +127,12 @@ export default defineComponent({
}
}
> p {
> .month-and-year, > .week-day {
margin: 0;
line-height: 18px;
font-size: 0.9em;
> span {
> .year, > .month {
margin: 0 4px;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment