Commit 7321ff21 by xingyu

chore: wh-full

parent af7c6f3b
...@@ -227,7 +227,7 @@ const disabledClick = () => { ...@@ -227,7 +227,7 @@ const disabledClick = () => {
<div <div
v-if="disabled" v-if="disabled"
:class="`${prefixCls}--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" @click="disabledClick"
> >
<div class="absolute left-[50%] top-[50%] font-bold"> <div class="absolute left-[50%] top-[50%] font-bold">
......
...@@ -50,7 +50,7 @@ export default defineComponent({ ...@@ -50,7 +50,7 @@ export default defineComponent({
<section class={[prefixCls, `${prefixCls}__${layout.value}`, 'w-[100%] h-[100%] relative']}> <section class={[prefixCls, `${prefixCls}__${layout.value}`, 'w-[100%] h-[100%] relative']}>
{mobile.value && !collapse.value ? ( {mobile.value && !collapse.value ? (
<div <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} onClick={handleClickOutside}
></div> ></div>
) : undefined} ) : undefined}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment