Fix filter bar styles

This commit is contained in:
Justin Edmund 2023-06-23 19:15:23 -07:00
parent c01a945f91
commit d786b19dc0
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
.FilterBar {
.filterBar {
align-items: center;
background: var(--bar-bg);
border-radius: $card-corner;
@ -26,7 +26,7 @@
min-height: auto;
}
.Filters {
.filters {
display: flex;
box-sizing: border-box;
flex-direction: row;

View file

@ -41,8 +41,8 @@ const FilterBar = (props: Props) => {
const [matchesDefaultFilters, setMatchesDefaultFilters] = useState(false)
// Set up classes object for showing shadow on scroll
const classes = classNames({
FilterBar: true,
shadow: props.scrolled,
[styles.filterBar]: true,
[styles.shadow]: props.scrolled,
})
const filterButtonClasses = classNames({
@ -126,7 +126,7 @@ const FilterBar = (props: Props) => {
<>
<div className={classes}>
{props.children}
<div className="Filters">
<div className={styles.filters}>
<Select
value={`${props.element}`}
overlayVisible={false}