diff --git a/app/components/ak-divider/index.hbs b/app/components/ak-divider/index.hbs index 5930bcda0..338055884 100644 --- a/app/components/ak-divider/index.hbs +++ b/app/components/ak-divider/index.hbs @@ -3,6 +3,7 @@ { get isVertical() { return this.args.direction === 'vertical'; } + + get height() { + return this.isVertical ? this.args.height || '100%' : '1px'; + } + + get width() { + return !this.isVertical ? this.args.width || '100%' : '1px'; + } } declare module '@glint/environment-ember-loose/registry' { diff --git a/app/components/app-monitoring/settings/index.hbs b/app/components/app-monitoring/settings/index.hbs index 32030f0f4..9d9a19137 100644 --- a/app/components/app-monitoring/settings/index.hbs +++ b/app/components/app-monitoring/settings/index.hbs @@ -76,7 +76,12 @@ {{#if this.showClearFilter}} - + - + diff --git a/app/components/file-compare/compare-list/skeleton-loader/index.scss b/app/components/file-compare/compare-list/skeleton-loader/index.scss index 9e487dbfa..32126ea7a 100644 --- a/app/components/file-compare/compare-list/skeleton-loader/index.scss +++ b/app/components/file-compare/compare-list/skeleton-loader/index.scss @@ -13,10 +13,3 @@ color: var(--file-compare-list-skeleton-loader-breadcrumbs-seperator-color); } -.divider { - width: 1px; - height: 26px; - background-color: var( - --file-compare-list-skeleton-loader-divider-background-color - ); -} diff --git a/app/components/file-compare/header/index.hbs b/app/components/file-compare/header/index.hbs index 672631092..f918ba444 100644 --- a/app/components/file-compare/header/index.hbs +++ b/app/components/file-compare/header/index.hbs @@ -41,7 +41,7 @@ - + @@ -52,7 +52,11 @@ {{#if @project}} - + @@ -65,7 +69,7 @@ {{/if}} - + - + + - + - + {{#if this.showClearFilter}} - + {{#if this.showClearFilter}} - + {{#if this.showClearFilter}} - + - + {{/if}} diff --git a/app/components/storeknox/inventory/pending-review/index.scss b/app/components/storeknox/inventory/pending-review/index.scss index 3cd377dc0..49f1b54df 100644 --- a/app/components/storeknox/inventory/pending-review/index.scss +++ b/app/components/storeknox/inventory/pending-review/index.scss @@ -20,10 +20,5 @@ } .divider { - width: 1px; - height: 40px; - background-color: var( - --storeknox-inventory-pending-review-header-divider-background-color - ); margin: 0 0.35em; } diff --git a/app/styles/_component-variables.scss b/app/styles/_component-variables.scss index b757afd07..06f06832f 100644 --- a/app/styles/_component-variables.scss +++ b/app/styles/_component-variables.scss @@ -722,9 +722,6 @@ body { --appmonitoring-settings-header-filter-option-hover-background: var( --hover-light-background ); - --appmonitoring-settings-header-divider-background-color: var( - --neutral-grey-200 - ); --appmonitoring-settings-header-clear-filter-color: var(--neutral-grey-600); --appmonitoring-settings-header-clear-filter-hover-color: var(--primary-main); @@ -764,7 +761,6 @@ body { --sbom-app-list-header-filter-option-hover-background: var( --hover-light-background ); - --sbom-app-list-header-divider-background-color: var(--neutral-grey-200); --sbom-app-list-header-clear-filter-color: var(--neutral-grey-600); --sbom-app-list-header-clear-filter-hover-color: var(--primary-main); @@ -1307,9 +1303,6 @@ body { --file-compare-list-skeleton-loader-breadcrumbs-seperator-color: var( --neutral-grey-500 ); - --file-compare-list-skeleton-loader-divider-background-color: var( - --border-color-2 - ); // variables for user-login --user-login-footer-background-color: var(--neutral-grey-100); @@ -1559,7 +1552,6 @@ body { --project-list-header-filter-option-hover-background: var( --hover-light-background ); - --project-list-header-divider-background-color: var(--neutral-grey-200); --project-list-header-clear-filter-color: var(--neutral-grey-600); --project-list-header-clear-filter-hover-color: var(--primary-main); @@ -1695,9 +1687,6 @@ body { --success-main ); --storeknox-inventory-pending-review-reject-button-color: var(--error-main); - --storeknox-inventory-pending-review-header-divider-background-color: var( - --neutral-grey-200 - ); // variables for storeknox/discover/requested-apps/table --storeknox-discover-requested-apps-table-row-color: var(--common-white);