Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
fix: mobile "Create and Add Another" goes off screen (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanGawrych authored Aug 31, 2023
1 parent 0876deb commit 94fd9c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/components/Item/CreateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/Label/CreateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/Location/CreateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 94fd9c3

Please sign in to comment.