From 4f2948615ed7493ca467ee0fc0e4347ef396429e Mon Sep 17 00:00:00 2001 From: Falk Date: Tue, 9 Apr 2024 09:27:55 +0200 Subject: [PATCH] fix(search-street): improve contrast for hovered dropdown item --- app/styles/ember-ebau-gwr.scss | 3 ++- tests/integration/components/search-street-test.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/styles/ember-ebau-gwr.scss b/app/styles/ember-ebau-gwr.scss index 1ed64699..1a514c07 100644 --- a/app/styles/ember-ebau-gwr.scss +++ b/app/styles/ember-ebau-gwr.scss @@ -11,7 +11,8 @@ $ember-power-select-trigger-icon-color: transparent; @extend .uk-invisible; } - .ember-power-select-option:hover > small { + .ember-power-select-option:hover > small, + .ember-power-select-option[aria-current="true"] > small { mix-blend-mode: multiply; } } diff --git a/tests/integration/components/search-street-test.js b/tests/integration/components/search-street-test.js index 4d7daaf0..d6922652 100644 --- a/tests/integration/components/search-street-test.js +++ b/tests/integration/components/search-street-test.js @@ -8,10 +8,10 @@ import { } from "ember-power-select/test-support/helpers"; import { module, test } from "qunit"; -module("Integration | Component | search-street", function(hooks) { +module("Integration | Component | search-street", function (hooks) { setupRenderingTest(hooks); - test("it renders", async function(assert) { + test("it renders", async function (assert) { this.set("street"); this.set("options", { locality: {