move disabled inp msg

* move disabled message more on the left to avoid to hide password toggle
This commit is contained in:
Jordan Blasenhauer 2023-10-12 17:32:19 +02:00
parent 85ef4e4dea
commit 15d3180b64
2 changed files with 5 additions and 1 deletions

View file

@ -772,6 +772,10 @@ h6 {
right: 1.25rem;
}
.right-6 {
right: 1.5rem;
}
.right-7 {
right: 1.75rem;
}

View file

@ -253,7 +253,7 @@ class DisabledPop {
const popupHTML = `
<div data-disabled-info class="${
type === "select" ? "translate-y-2" : ""
} pointer-events-none bg-blue-500 absolute right-2 rounded-lg px-2 py-1 z-20 dark:brightness-90">
} right-8 pointer-events-none bg-blue-500 absolute rounded-lg px-2 py-1 z-20 dark:brightness-90">
<p class="m-0 text-xs text-white dark:text-gray-100">disabled by ${method}</p>
</div>`;
let cleanHTML = DOMPurify.sanitize(popupHTML);