From cff9c26ef2156bddd66c2e4854ef4cbc2033847c Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 19 May 2023 17:46:34 +0200 Subject: [PATCH] Lint --- .../bbui/src/ActionButton/ActionButton.svelte | 4 +++- .../components/common/CodeMirrorEditor.svelte | 11 +++++---- .../builder/portal/settings/auth/scim.svelte | 24 ------------------- .../components/app/charts/ApexChart.svelte | 5 ++-- .../src/components/app/forms/JSONField.svelte | 8 ++++--- 5 files changed, 18 insertions(+), 34 deletions(-) diff --git a/packages/bbui/src/ActionButton/ActionButton.svelte b/packages/bbui/src/ActionButton/ActionButton.svelte index e9eb3b3471..427a98f888 100644 --- a/packages/bbui/src/ActionButton/ActionButton.svelte +++ b/packages/bbui/src/ActionButton/ActionButton.svelte @@ -102,7 +102,9 @@ margin-left: 0; transition: color ease-out 130ms; } - .is-selected:not(.spectrum-ActionButton--emphasized):not(.spectrum-ActionButton--quiet) { + .is-selected:not(.spectrum-ActionButton--emphasized):not( + .spectrum-ActionButton--quiet + ) { background: var(--spectrum-global-color-gray-300); border-color: var(--spectrum-global-color-gray-500); } diff --git a/packages/builder/src/components/common/CodeMirrorEditor.svelte b/packages/builder/src/components/common/CodeMirrorEditor.svelte index 9986b9824c..9537028ac1 100644 --- a/packages/builder/src/components/common/CodeMirrorEditor.svelte +++ b/packages/builder/src/components/common/CodeMirrorEditor.svelte @@ -146,15 +146,18 @@ /* Override default active line highlight colour in dark theme */ div - :global(.CodeMirror-focused.cm-s-tomorrow-night-eighties - .CodeMirror-activeline-background) { + :global( + .CodeMirror-focused.cm-s-tomorrow-night-eighties + .CodeMirror-activeline-background + ) { background: rgba(255, 255, 255, 0.075); } /* Remove active line styling when not focused */ div - :global(.CodeMirror:not(.CodeMirror-focused) - .CodeMirror-activeline-background) { + :global( + .CodeMirror:not(.CodeMirror-focused) .CodeMirror-activeline-background + ) { background: unset; } diff --git a/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte b/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte index b30dda29c7..66d9e5ab79 100644 --- a/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte +++ b/packages/builder/src/pages/builder/portal/settings/auth/scim.svelte @@ -115,27 +115,6 @@ align-items: center; } - input[type="file"] { - display: none; - } - .sso-link-icon { - padding-top: 4px; - margin-left: 3px; - } - .sso-link { - margin-top: 12px; - display: flex; - flex-direction: row; - align-items: center; - } - .enforce-sso-title { - margin-right: 10px; - } - .enforce-sso-heading-container { - display: flex; - flex-direction: row; - align-items: start; - } .provider-title { display: flex; flex-direction: row; @@ -143,9 +122,6 @@ align-items: center; gap: var(--spacing-m); } - .provider-title span { - flex: 1 1 auto; - } .inputContainer { display: flex; flex-direction: row; diff --git a/packages/client/src/components/app/charts/ApexChart.svelte b/packages/client/src/components/app/charts/ApexChart.svelte index 265d6d3523..b25be421f7 100644 --- a/packages/client/src/components/app/charts/ApexChart.svelte +++ b/packages/client/src/components/app/charts/ApexChart.svelte @@ -54,8 +54,9 @@ color: white; } div - :global(.apexcharts-theme-dark - .apexcharts-tooltip-series-group.apexcharts-active) { + :global( + .apexcharts-theme-dark .apexcharts-tooltip-series-group.apexcharts-active + ) { padding-bottom: 0; } diff --git a/packages/client/src/components/app/forms/JSONField.svelte b/packages/client/src/components/app/forms/JSONField.svelte index 607947605a..c80060d3d6 100644 --- a/packages/client/src/components/app/forms/JSONField.svelte +++ b/packages/client/src/components/app/forms/JSONField.svelte @@ -72,9 +72,11 @@ :global(.spectrum-Form-itemField .spectrum-Textfield--multiline) { min-height: calc(var(--height) - 24px); } - :global(.spectrum-Form--labelsAbove - .spectrum-Form-itemField - .spectrum-Textfield--multiline) { + :global( + .spectrum-Form--labelsAbove + .spectrum-Form-itemField + .spectrum-Textfield--multiline + ) { min-height: calc(var(--height) - 24px); }