Skip to content

Commit

Permalink
Add minor visual tweaks and fix updating level range
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed Dec 1, 2024
1 parent faafad6 commit f1ea150
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/module/apps/compendium-browser/components/filters.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@
<style lang="scss">
.control-area {
overflow-y: auto;
padding-right: var(--space-4);
scrollbar-gutter: stable;
}
.headercontainer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
aria-label="expand"
aria-expanded={isExpanded}
>
<i class="fa-solid fa-fw {isExpanded ? 'fa-chevron-down' : 'fa-chevron-up'}"></i>
{game.i18n.localize(props.label)}
<i class="fa-solid {isExpanded ? 'fa-chevron-down' : 'fa-chevron-up'}"></i>
</button>
{:else}
{game.i18n.localize(props.label)}
Expand Down Expand Up @@ -58,8 +58,9 @@
}
i {
margin-right: unset;
margin-left: 0.25em;
font-size: 0.8em;
margin-right: 0.25em;
margin-left: unset;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
level.to = value;
}
level.changed = level.from !== level.min || level.to !== level.max;
game.pf2e.compendiumBrowser.renderParts(["resultList"]);
game.pf2e.compendiumBrowser.renderParts("resultList");
}
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
range.values = activeTab.parseRangeFilterInput(props.name, range.values.inputMin, elValue);
}
range.changed = true;
game.pf2e.compendiumBrowser.renderParts(["resultList"]);
game.pf2e.compendiumBrowser.renderParts("resultList");
}
</script>

Expand Down

0 comments on commit f1ea150

Please sign in to comment.