Skip to content

Commit

Permalink
fix: fix direct selection support of ::selection
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Jan 25, 2021
1 parent caf8e39 commit 443c177
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/dnb-ui-lib/src/style/themes/theme-ui/dnb-theme-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
@import '../../elements/ui-elements.scss';

// ::selection appearance helper
.dnb-selection::selection,
.dnb-selection ::selection,
[class^='dnb-']::selection,
[class^='dnb-'] ::selection {
// if not IE11 / not IS_IE
@supports not (-ms-ime-align: auto) {
background-color: var(--color-mint-green);
color: var(--color-black);
text-shadow: none;
}
background-color: var(--color-mint-green);
color: var(--color-black);
text-shadow: none;
}

/**
Expand Down

0 comments on commit 443c177

Please sign in to comment.