Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a PowerSelect outline issue #513

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions styles/plugins/_p-ember-power-select.scss
Original file line number Diff line number Diff line change
@@ -163,12 +163,14 @@ $ember-power-select-multiple-option-line-height: 1.45;

.ember-power-select-trigger:focus,
.ember-power-select-trigger--active {
outline: none;
border-width: 0.1rem !important; // Temporary webuniversum override
border-color: var(
--au-outline-color
) !important; // Temporary webuniversum override
box-shadow: inset 0 0 0 0.2rem var(--au-outline-color) !important; // Temporary webuniversum override
&:not(.ember-power-select-trigger[aria-disabled="true"]) {
outline: none;
border-width: 0.1rem !important; // Temporary webuniversum override
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can remove some of these overrides? I don't think there are projects that mix Appuniversum + Webuniversum.

border-color: var(
--au-outline-color
) !important; // Temporary webuniversum override
box-shadow: inset 0 0 0 0.2rem var(--au-outline-color) !important; // Temporary webuniversum override
}
}

.ember-basic-dropdown-trigger--below.ember-power-select-trigger[aria-expanded="true"],
Loading