diff --git a/src/lib/components/collection/CollectionFilters.svelte b/src/lib/components/collection/CollectionFilters.svelte index cc3baa9b..034686d5 100644 --- a/src/lib/components/collection/CollectionFilters.svelte +++ b/src/lib/components/collection/CollectionFilters.svelte @@ -289,6 +289,7 @@ bind:value={elementFilters} onValueChange={handleElementChange} placeholder="Element" + contained /> {/if} @@ -298,6 +299,7 @@ bind:value={rarityFilters} onValueChange={handleRarityChange} placeholder="Rarity" + contained /> {/if} @@ -307,6 +309,7 @@ bind:value={seasonFilters} onValueChange={handleSeasonChange} placeholder="Season" + contained /> {/if} @@ -316,6 +319,7 @@ bind:value={seriesFilters} onValueChange={handleSeriesChange} placeholder={entityType === 'weapon' ? 'Weapon Series' : 'Series'} + contained /> {/if} @@ -325,6 +329,7 @@ bind:value={raceFilters} onValueChange={handleRaceChange} placeholder="Race" + contained /> {/if} @@ -334,6 +339,7 @@ bind:value={proficiencyFilters} onValueChange={handleProficiencyChange} placeholder={entityType === 'weapon' ? 'Weapon Type' : 'Proficiency'} + contained /> {/if} @@ -343,6 +349,7 @@ bind:value={genderFilters} onValueChange={handleGenderChange} placeholder="Gender" + contained /> {/if} @@ -384,6 +391,7 @@ bind:value={sortBy} onValueChange={handleSortChange} size="small" + contained /> {/if} diff --git a/src/routes/(app)/[username]/collection/+layout.svelte b/src/routes/(app)/[username]/collection/+layout.svelte index 270a65d6..9d142e19 100644 --- a/src/routes/(app)/[username]/collection/+layout.svelte +++ b/src/routes/(app)/[username]/collection/+layout.svelte @@ -57,52 +57,58 @@
- - + Characters + Weapons + Summons + Artifacts + -
- {@render children()} + {#if data.isOwner && supportsAddModal} + + {:else if data.isOwner && isArtifacts} + + {/if} + + +
+ {@render children()} +
@@ -116,24 +122,28 @@