A continuation of HomeBox the inventory and organization system built for the Home User
fix: mobile "Create and Add Another" goes off screen (#540)
Jonathan Gawrych58e80ab3e04f
diff --git a/frontend/components/Item/CreateModal.vue b/frontend/components/Item/CreateModal.vueindex 6b136251..5b9f5831 100644--- a/frontend/components/Item/CreateModal.vue+++ b/frontend/components/Item/CreateModal.vue@@ -19,7 +19,7 @@<label tabindex="0" class="btn rounded-l-none rounded-r-xl"><Icon class="h-5 w-5" name="mdi-chevron-down" /></label>- <ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-64">+ <ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-64 right-0"><li><button type="button" @click="create(false)">Create and Add Another</button></li>diff --git a/frontend/components/Label/CreateModal.vue b/frontend/components/Label/CreateModal.vueindex da1a594a..e860e56b 100644--- a/frontend/components/Label/CreateModal.vue+++ b/frontend/components/Label/CreateModal.vue@@ -17,7 +17,7 @@<label tabindex="0" class="btn rounded-l-none rounded-r-xl"><Icon class="h-5 w-5" name="mdi-chevron-down" /></label>- <ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-64">+ <ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-64 right-0"><li><button type="button" @click="create(false)">Create and Add Another</button></li>diff --git a/frontend/components/Location/CreateModal.vue b/frontend/components/Location/CreateModal.vueindex d0dadbbb..e1202c55 100644--- a/frontend/components/Location/CreateModal.vue+++ b/frontend/components/Location/CreateModal.vue@@ -18,7 +18,7 @@<label tabindex="0" class="btn rounded-l-none rounded-r-xl"><Icon class="h-5 w-5" name="mdi-chevron-down" /></label>- <ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-64">+ <ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-64 right-0"><li><button type="button" @click="create(false)">Create and Add Another</button></li>