Skip to content

Commit

Permalink
$link-decoration: underline affects some components (#30262)
Browse files Browse the repository at this point in the history
Co-authored-by: Shohei Yoshida <fellows3@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
  • Loading branch information
2 people authored and XhmikosR committed Mar 5, 2020
1 parent 15a55c2 commit be947ff
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions scss/_buttons.scss
Expand Up @@ -10,6 +10,7 @@
font-weight: $btn-font-weight;
color: $body-color;
text-align: center;
text-decoration: if($link-decoration == none, null, none);
white-space: $btn-white-space;
vertical-align: middle;
user-select: none;
Expand Down
1 change: 1 addition & 0 deletions scss/_dropdown.scss
Expand Up @@ -128,6 +128,7 @@
font-weight: $font-weight-normal;
color: $dropdown-link-color;
text-align: inherit; // For `<button>`s
text-decoration: if($link-decoration == none, null, none);
white-space: nowrap; // prevent links from randomly breaking onto new lines
background-color: transparent; // For `<button>`s
border: 0; // For `<button>`s
Expand Down
1 change: 1 addition & 0 deletions scss/_list-group.scss
Expand Up @@ -46,6 +46,7 @@
display: block;
padding: $list-group-item-padding-y $list-group-item-padding-x;
color: $list-group-color;
text-decoration: if($link-decoration == none, null, none);
background-color: $list-group-bg;
border: $list-group-border-width solid $list-group-border-color;

Expand Down
1 change: 1 addition & 0 deletions scss/_nav.scss
Expand Up @@ -14,6 +14,7 @@
.nav-link {
display: block;
padding: $nav-link-padding-y $nav-link-padding-x;
text-decoration: if($link-decoration == none, null, none);

@include hover-focus() {
text-decoration: none;
Expand Down
1 change: 1 addition & 0 deletions scss/_pagination.scss
Expand Up @@ -11,6 +11,7 @@
margin-left: -$pagination-border-width;
line-height: $pagination-line-height;
color: $pagination-color;
text-decoration: if($link-decoration == none, null, none);
background-color: $pagination-bg;
border: $pagination-border-width solid $pagination-border-color;

Expand Down

0 comments on commit be947ff

Please sign in to comment.