fix: models and slide-overs to use the same Close (x) icon button styles

This commit is contained in:
gianpaj committed 2026-04-02 14:36:25 +02:00
1 parent 575b0766d1
commit 74b27dfeb4
2 files changed
+5 -4

No files matched your search

@@ -32,11 +32,12 @@ x-init="$watch('slideOverOpen', value => {
<div class="px-4 pb-4 sm:px-5">
<div class="flex items-start justify-between pb-1">
<h2 class="text-2xl leading-6" id="slide-over-title">
{{ $title }}</h2>
{{ $title }}
</h2>
<div class="flex items-center h-auto ml-3">
<button @click="slideOverOpen=false"
class="absolute top-0 right-0 z-30 flex items-center justify-center px-3 py-2 mt-4 mr-2 space-x-1 text-xs font-normal border-none rounded-sm">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
class="absolute cursor-pointer hover:bg-neutral-100 dark:hover:bg-coolgray-300 top-0 right-0 z-30 flex items-center justify-center w-8 h-8 mt-5 mr-5 space-x-1 text-xs font-normal border-none rounded-full">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none"
viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round"
d="M6 18L18 6M6 6l12 12"></path>