give layer and filter control some more padding

This commit is contained in:
Anton Tranelis 2024-07-29 21:48:56 +02:00
parent d2befc1fe0
commit 65de01caf9

View File

@ -23,10 +23,10 @@ export function FilterControl() {
const visibleGroupTypes = useVisibleGroupType();
return (
<div className="tw-card tw-bg-base-100 tw-shadow-xl tw-mt-2 tw-w-fit tw-pr-4">
<div className="tw-card tw-bg-base-100 tw-shadow-xl tw-mt-2 tw-w-fit">
{
open ?
<div className="tw-card-body tw-p-2 tw-w-fit tw-transition-all tw-duration-300">
<div className="tw-card-body tw-pr-4 tw-p-2 tw-w-fit tw-transition-all tw-duration-300">
<label className="tw-btn tw-btn-sm tw-rounded-2xl tw-btn-circle tw-btn-ghost hover:tw-bg-transparent tw-absolute tw-right-0 tw-top-0 tw-text-gray-600" onClick={() => {
setOpen(false)
}}>