修改时间样式

This commit is contained in:
expdsn 2024-10-28 19:00:08 +08:00
parent d7557dc318
commit bf3e77e7a3
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ export default defineComponent({
const layout = useLayoutStore()
return () => (
<div
class="absolute z-20 shadow-text tracking-widest font-bold h-[110px] transition-all"
class="absolute z-20 shadow-text tracking-widest font-normal h-[110px] transition-all "
style={{
color: layout.isCompact ? 'white' : 'rgba(255,255,255,.8)',
color: 'white',
transitionDuration: '.4s',
left: layout.isCompact ? '20px' : '50%',
top: layout.isCompact ? '20px' : '50px',
@ -47,7 +47,7 @@ export default defineComponent({
<div
class={
'transition-all ' +
(layout.isCompact ? 'text-[1.4rem] leading-[1.4rem]' : 'text-[4rem] leading-[4rem]')
(layout.isCompact ? 'text-[1.4rem] leading-[1.4rem]' : 'text-[8vh] leading-[4rem]')
}
>
{text.value.timeStr}