Skip to content

Commit

Permalink
adjust sinzing for number of visits
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-lysenko committed Apr 1, 2024
1 parent 348c656 commit 54c7d80
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,17 @@ export default function PlanSelectionFilter( { selectedPlan, plans, onSelectPlan
);
}, [ dispatch ] );

const additionalWrapperClass =
filterType === FILTER_TYPE_INSTALL
? 'a4a-pressable-filter-wrapper-install'
: 'a4a-pressable-filter-wrapper-visits';
const wrapperClass = classNames(
additionalWrapperClass,
'pressable-overview-plan-selection__filter'
);

return (
<section className="pressable-overview-plan-selection__filter">
<section className={ wrapperClass }>
<div className="pressable-overview-plan-selection__filter-type">
<p className="pressable-overview-plan-selection__filter-label">
{ translate( 'Filter by:' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,17 @@
color: var(--color-text-inverted);
}
}

.pressable-overview-plan-selection__filter {
.a4a-slider__marker-label {
height: 0.95rem;
}
}

.a4a-pressable-filter-wrapper-visits {
@include breakpoint-deprecated( "<660px" ) {
.a4a-slider__marker-label {
font-size: 0.75rem;
}
}
}

0 comments on commit 54c7d80

Please sign in to comment.