From 3ccf45a4a4e386a6e7d2e917afb3f2b0d1c14682 Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Sun, 4 Aug 2024 22:31:51 +0800 Subject: [PATCH] refactor: update filter group container styles --- .changeset/seven-pandas-tap.md | 5 +++++ .../filter/src/views/filter-group-container.tsx | 17 ++++++----------- packages/filter/src/views/rule-joiner.tsx | 7 +++---- .../src/views/single-filter-container.tsx | 1 + .../src/filter/flatten-filter-builder.tsx | 4 +--- 5 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 .changeset/seven-pandas-tap.md diff --git a/.changeset/seven-pandas-tap.md b/.changeset/seven-pandas-tap.md new file mode 100644 index 0000000..3633e06 --- /dev/null +++ b/.changeset/seven-pandas-tap.md @@ -0,0 +1,5 @@ +--- +"@fn-sphere/filter": patch +--- + +Update styles for default templates diff --git a/packages/filter/src/views/filter-group-container.tsx b/packages/filter/src/views/filter-group-container.tsx index 300af1b..afdb07b 100644 --- a/packages/filter/src/views/filter-group-container.tsx +++ b/packages/filter/src/views/filter-group-container.tsx @@ -23,27 +23,22 @@ export const FilterGroupContainer = ({ className="filter-group-container" style={{ display: "flex", + flexDirection: "column", + borderRadius: 4, + padding: 4, + background: "rgba(0, 0, 0, 0.05)", }} >