fix: mobile "Create and Add Another" goes off screen (#540)

Former-commit-id: 94fd9c314d
This commit is contained in:
Jonathan Gawrych 2023-08-31 11:07:45 -06:00 committed by GitHub
parent 94e81d14fa
commit 58e80ab3e0
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
<label tabindex="0" class="btn rounded-l-none rounded-r-xl"> <label tabindex="0" class="btn rounded-l-none rounded-r-xl">
<Icon class="h-5 w-5" name="mdi-chevron-down" /> <Icon class="h-5 w-5" name="mdi-chevron-down" />
</label> </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> <li>
<button type="button" @click="create(false)">Create and Add Another</button> <button type="button" @click="create(false)">Create and Add Another</button>
</li> </li>

View file

@ -17,7 +17,7 @@
<label tabindex="0" class="btn rounded-l-none rounded-r-xl"> <label tabindex="0" class="btn rounded-l-none rounded-r-xl">
<Icon class="h-5 w-5" name="mdi-chevron-down" /> <Icon class="h-5 w-5" name="mdi-chevron-down" />
</label> </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> <li>
<button type="button" @click="create(false)">Create and Add Another</button> <button type="button" @click="create(false)">Create and Add Another</button>
</li> </li>

View file

@ -18,7 +18,7 @@
<label tabindex="0" class="btn rounded-l-none rounded-r-xl"> <label tabindex="0" class="btn rounded-l-none rounded-r-xl">
<Icon class="h-5 w-5" name="mdi-chevron-down" /> <Icon class="h-5 w-5" name="mdi-chevron-down" />
</label> </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> <li>
<button type="button" @click="create(false)">Create and Add Another</button> <button type="button" @click="create(false)">Create and Add Another</button>
</li> </li>