Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2020-03-05 17:22:52 +0300
committerGitHub <noreply@github.com>2020-03-05 17:22:52 +0300
commitd9215ebd5a70ed84ea34337036a712d189fc6b91 (patch)
tree557f572c052140b181e0f729123660ff27e400a7 /scss/_dropdown.scss
parent59c5d7599d5639b53c8d5ec53ad8258193482b93 (diff)
$link-decoration: underline affects some components (#30262)
Co-authored-by: Shohei Yoshida <fellows3@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Diffstat (limited to 'scss/_dropdown.scss')
-rw-r--r--scss/_dropdown.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index 00f0cba6e8..48cceed40f 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -130,6 +130,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