From 9315cb9af73097a0cae0069dcce7d1af0db3b76d Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 7 Dec 2022 09:00:29 +0000 Subject: [PATCH] Update filter labels to reflect that more than and less than also include equal to --- .../design/settings/controls/FilterEditor/FilterDrawer.svelte | 2 +- packages/frontend-core/src/constants.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/design/settings/controls/FilterEditor/FilterDrawer.svelte b/packages/builder/src/components/design/settings/controls/FilterEditor/FilterDrawer.svelte index 58b95b7248..24353c8f58 100644 --- a/packages/builder/src/components/design/settings/controls/FilterEditor/FilterDrawer.svelte +++ b/packages/builder/src/components/design/settings/controls/FilterEditor/FilterDrawer.svelte @@ -300,7 +300,7 @@ column-gap: var(--spacing-l); row-gap: var(--spacing-s); align-items: center; - grid-template-columns: 1fr 150px 120px 1fr 16px 16px; + grid-template-columns: 1fr 170px 120px 1fr 16px 16px; } .filter-label { diff --git a/packages/frontend-core/src/constants.js b/packages/frontend-core/src/constants.js index 1eed492c25..ff9f4628d0 100644 --- a/packages/frontend-core/src/constants.js +++ b/packages/frontend-core/src/constants.js @@ -28,11 +28,11 @@ export const OperatorOptions = { }, MoreThan: { value: "rangeLow", - label: "More than", + label: "More than or equal to", }, LessThan: { value: "rangeHigh", - label: "Less than", + label: "Less than or equal to", }, Contains: { value: "contains",