fix: remove container div

This commit is contained in:
Xyphyn committed 2023-08-09 15:34:58 -07:00
1 parent e9af098dd2
commit 18b7d5400a
1 file changed
+35 -37
+35 -37
View File
@@ -7,40 +7,38 @@
export let navigate: boolean = true export let navigate: boolean = true
</script> </script>
<div class="w-full"> <MultiSelect
<MultiSelect options={[
options={[ 'Active',
'Active', 'Hot',
'Hot', 'TopAll',
'TopAll', 'New',
'New', 'Old',
'Old', 'TopMonth',
'TopMonth', 'TopWeek',
'TopWeek', 'TopDay',
'TopDay', 'TopSixHour',
'TopSixHour', 'TopHour',
'TopHour', 'MostComments',
'MostComments', 'NewComments',
'NewComments', ]}
]} optionNames={[
optionNames={[ 'Active',
'Active', 'Hot',
'Hot', 'Top',
'Top', 'New',
'New', 'Old',
'Old', 'Top Month',
'Top Month', 'Top Week',
'Top Week', 'Top Day',
'Top Day', 'Top 6 Hours',
'Top 6 Hours', 'Top Hour',
'Top Hour', 'Most Comments',
'Most Comments', 'New Comments',
'New Comments', ]}
]} bind:selected
bind:selected on:select={(e) => {
on:select={(e) => { if (navigate) searchParam($page.url, 'sort', e.detail, 'page')
if (navigate) searchParam($page.url, 'sort', e.detail, 'page') }}
}} class="w-full md:max-w-[24rem]"
class="w-full md:max-w-[24rem]" />
/>
</div>