forked from brooksbingham/theme-elegance
fix: no wrap for the sorting dropdown
parent
b67831e3e3
commit
fdf2bd8199
|
@ -23,8 +23,7 @@
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
<div class="relative flex">
|
<div class="relative flex-1 w-full max-w-[240px] group">
|
||||||
<div class="relative flex-1 max-w-[140px] group">
|
|
||||||
<button
|
<button
|
||||||
class="dropdown-toggle relative px-4 pr-6 leading-1 w-full text-left"
|
class="dropdown-toggle relative px-4 pr-6 leading-1 w-full text-left"
|
||||||
type="button"
|
type="button"
|
||||||
|
@ -37,7 +36,8 @@
|
||||||
<path d="M6 9l6 6l6 -6"></path>
|
<path d="M6 9l6 6l6 -6"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu hidden group-hover:flex absolute top-full left-0 w-full flex-col bg-white z-10 shadow-lg">
|
<div class="dropdown-menu hidden group-hover:flex absolute top-full right-0 bg-white z-10 shadow-lg">
|
||||||
|
<div class="flex flex-col whitespace-nowrap">
|
||||||
{foreach from=$listing.sort_orders item=sort_order}
|
{foreach from=$listing.sort_orders item=sort_order}
|
||||||
<a
|
<a
|
||||||
rel="nofollow"
|
rel="nofollow"
|
||||||
|
|
Loading…
Reference in New Issue