From f59638cbdfda593a56cf38d51b7e9a1c461812d9 Mon Sep 17 00:00:00 2001 From: Edward Brunton <42774600+EdwardBrunton@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:03:56 +0200 Subject: [PATCH] Fix/fix powerbi filter styling (#642) * fix: Fix quick filter styling powerbi * fix version after merge * Prettified Code! * Trigger Build * feat: Update QuickFilter background color to use eds * fix: Remove scrollbar from powerbi quick filters --------- Co-authored-by: EdwardBrunton --- packages/power-bi/package.json | 2 +- .../power-bi/src/lib/components/QuickFilter/QuickFilter.tsx | 4 +++- .../components/quickFilterGroup/quickFilterGroup.styles.ts | 2 +- packages/workspace-fusion/package.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/power-bi/package.json b/packages/power-bi/package.json index f75af994..30e1279b 100644 --- a/packages/power-bi/package.json +++ b/packages/power-bi/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/workspace-powerbi", - "version": "3.0.6", + "version": "3.0.7", "type": "module", "sideEffects": false, "license": "MIT", diff --git a/packages/power-bi/src/lib/components/QuickFilter/QuickFilter.tsx b/packages/power-bi/src/lib/components/QuickFilter/QuickFilter.tsx index 20bcbea6..b22b9356 100644 --- a/packages/power-bi/src/lib/components/QuickFilter/QuickFilter.tsx +++ b/packages/power-bi/src/lib/components/QuickFilter/QuickFilter.tsx @@ -123,10 +123,12 @@ const StyledFilterButtons = styled.div` const StyledQuickFilterWrapper = styled.div` display: flex; width: 100%; + height: 50px; justify-content: flex-start; gap: 10px; align-items: center; - overflow-x: auto; + overflow: hidden; + flex-wrap: wrap; box-sizing: border-box; padding-left: 10px; padding-right: 10px; diff --git a/packages/power-bi/src/lib/components/quickFilterGroup/quickFilterGroup.styles.ts b/packages/power-bi/src/lib/components/quickFilterGroup/quickFilterGroup.styles.ts index 2e64028c..93331304 100644 --- a/packages/power-bi/src/lib/components/quickFilterGroup/quickFilterGroup.styles.ts +++ b/packages/power-bi/src/lib/components/quickFilterGroup/quickFilterGroup.styles.ts @@ -18,7 +18,7 @@ export const StyledFilterGroupContent = styled.div` overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - padding-left: 2px; + padding-left: 5px; font-size: 14px; font-weight: 700; line-height: 20px; diff --git a/packages/workspace-fusion/package.json b/packages/workspace-fusion/package.json index a4d7da01..a45388bf 100644 --- a/packages/workspace-fusion/package.json +++ b/packages/workspace-fusion/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/workspace-fusion", - "version": "9.0.13", + "version": "9.0.14", "type": "module", "sideEffects": false, "license": "MIT",