fix: 深色模式导出图片的样式问题

This commit is contained in:
ChenZhaoYu
2023-03-09 18:57:46 +08:00
parent a4ef23d603
commit f084460d1c
3 changed files with 12 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ const wrapClass = computed(() => {
'text-wrap',
'min-w-[20px]',
'rounded-md',
isMobile.value ? 'p-2' : 'p-3',
isMobile.value ? 'p-2' : 'px-3 py-2',
props.inversion ? 'bg-[#d2f9d1]' : 'bg-[#f4f6f8]',
props.inversion ? 'dark:bg-[#a1dc95]' : 'dark:bg-[#1e1e20]',
{ 'text-red-500': props.error },