refactor(slide-over): enhance class merging for improved component styling
This commit is contained in:
parent
7fdf296c4a
commit
f430ca779b
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
@props(['closeWithX' => false, 'fullScreen' => false])
|
||||
<div x-data="{
|
||||
slideOverOpen: false
|
||||
}" class="relative w-auto h-auto" {{ $attributes }}>
|
||||
}" {{ $attributes->merge(['class' => 'relative w-auto h-auto']) }}>
|
||||
{{ $slot }}
|
||||
<template x-teleport="body">
|
||||
<div x-show="slideOverOpen" @if (!$closeWithX) @keydown.window.escape="slideOverOpen=false" @endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue