chore: wh-full

This commit is contained in:
xingyu 2023-10-31 10:20:39 +08:00
parent af7c6f3b2c
commit 7321ff2136
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ const disabledClick = () => {
<div
v-if="disabled"
:class="`${prefixCls}--disabled`"
class="wh-full absolute left-0 top-0 flex items-center justify-center"
class="absolute left-0 top-0 h-full w-full flex items-center justify-center"
@click="disabledClick"
>
<div class="absolute left-[50%] top-[50%] font-bold">

View File

@ -50,7 +50,7 @@ export default defineComponent({
<section class={[prefixCls, `${prefixCls}__${layout.value}`, 'w-[100%] h-[100%] relative']}>
{mobile.value && !collapse.value ? (
<div
class="wh-full absolute left-0 top-0 z-99 bg-[var(--el-color-black)] opacity-30"
class="absolute left-0 top-0 z-99 h-full w-full bg-[var(--el-color-black)] opacity-30"
onClick={handleClickOutside}
></div>
) : undefined}