Skip to content

Commit

Permalink
fix(dropdown): .mc-link outline set to none (#86)
Browse files Browse the repository at this point in the history
* fix(dropdown): .mc-link outline set to none

fix(dropdown): .mc-link outline set to none

Right now link in dropdown has border and outline when focused. Here .mc-link outline  is set to none.

Breaking Changes: none

* fix(dropdown): dropdown's focus is made with outline

fix(dropdown): dropdown's focus is made with outline

Right now link in dropdown has border and outline when focused. Here border is chenged to outline.

Breaking Changes: none
  • Loading branch information
Margar1ta authored and lskramarov committed Jul 18, 2019
1 parent 9ba7050 commit 33055c5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/mosaic/dropdown/_dropdown-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@
}

&.cdk-keyboard-focused, &.cdk-program-focused {
border-color: mc-color($primary);
box-shadow: inset 0 0 0 1px mc-color($primary);
outline: mc-color($primary) solid 2px;
outline-offset: -2px;

&.mc-link{
outline-offset: -2px;
}

}

&[disabled] {
Expand Down

0 comments on commit 33055c5

Please sign in to comment.