diff --git a/app/View/Components/Forms/Input.php b/app/View/Components/Forms/Input.php index 56349f6db..45f8e9678 100644 --- a/app/View/Components/Forms/Input.php +++ b/app/View/Components/Forms/Input.php @@ -29,7 +29,9 @@ class Input extends Component { if (is_null($this->id)) $this->id = new Cuid2(7); if (is_null($this->name)) $this->name = $this->id; - + if ($this->type === 'password') { + $this->defaultClass = $this->defaultClass . " pr-[2.8rem]"; + } // $this->label = Str::title($this->label); return view('components.forms.input'); } diff --git a/resources/css/app.css b/resources/css/app.css index 3c2a79dff..22869da46 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -84,7 +84,7 @@ input { } .input { - @apply block w-full py-1.5 pr-[2.8rem] rounded border-0 text-sm ring-inset ring-1 dark:bg-coolgray-100 dark:text-white text-black focus:ring-2 dark:focus:ring-coolgray-300 dark:ring-coolgray-300 dark:read-only:text-neutral-500 dark:read-only:ring-0 dark:read-only:bg-coolgray-100/40 dark:placeholder:text-neutral-700; + @apply block w-full py-1.5 rounded border-0 text-sm ring-inset ring-1 dark:bg-coolgray-100 dark:text-white text-black focus:ring-2 dark:focus:ring-coolgray-300 dark:ring-coolgray-300 dark:read-only:text-neutral-500 dark:read-only:ring-0 dark:read-only:bg-coolgray-100/40 dark:placeholder:text-neutral-700; } option { diff --git a/resources/views/components/toast.blade.php b/resources/views/components/toast.blade.php index 6e6f08c4b..df0d224e0 100644 --- a/resources/views/components/toast.blade.php +++ b/resources/views/components/toast.blade.php @@ -13,7 +13,7 @@ }" x-init="window.toast = function(message, options = {}) { let description = ''; let type = 'default'; - let position = 'bottom-right'; + let position = 'top-center'; let html = ''; if (typeof options.description != 'undefined') description = options.description; if (typeof options.type != 'undefined') type = options.type; diff --git a/resources/views/livewire/server/resources.blade.php b/resources/views/livewire/server/resources.blade.php index 2d7376c87..080ea06d6 100644 --- a/resources/views/livewire/server/resources.blade.php +++ b/resources/views/livewire/server/resources.blade.php @@ -2,7 +2,7 @@ @if ($server->isFunctional())
-