$link-decoration: underline affects some components#30262
Merged
MartijnCuppens merged 16 commits intotwbs:masterfrom Mar 5, 2020
arthurshlain:patch-1
Merged
$link-decoration: underline affects some components#30262MartijnCuppens merged 16 commits intotwbs:masterfrom arthurshlain:patch-1
MartijnCuppens merged 16 commits intotwbs:masterfrom
arthurshlain:patch-1
Conversation
Removed .btn redundant text-decoration when dom element is link (a.btn) and $link-decoration variable is set to 'underline'.
Contributor
|
I'm wondering if this should be applied to other components. |
Author
|
I know same behavior exist with pagination elements. |
Removed redundant text-decoration when element is link with .page-link class (a.page-link) and $link-decoration variable is set to 'underline'.
.page-link property ordering
.page-link property ordering
.page-link property ordering
.page-link property ordering
Member
|
I would prefer an if test to prevent generation of the property if not needed. Something like: (code not tested) |
Author
It's works good |
check $link-decoration variable for .btn "text-decoration: none"
check $link-decoration variable for .page-link "text-decoration: none"
.nav-link text-decoration: none;
.nav-link attr ordering
text-decoration: none; for .dropdown-item
text-decoration: none; for .list-group-item
Author
Member
Author
|
Something wrong with this fix now? |
MartijnCuppens
approved these changes
Mar 5, 2020
Member
|
this closed #15304 but note that one of the scenarios is still there...alerts with links and strong text (mocked up here by taking one of the alerts in the docs and adding an |
Member
|
Didn't notice this was added, I've reopened #15304. |
XhmikosR
pushed a commit
that referenced
this pull request
Mar 5, 2020
Co-authored-by: Shohei Yoshida <fellows3@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
XhmikosR
pushed a commit
that referenced
this pull request
Mar 9, 2020
Co-authored-by: Shohei Yoshida <fellows3@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Merged
olsza
pushed a commit
to olsza/bootstrap
that referenced
this pull request
Oct 3, 2020
Co-authored-by: Shohei Yoshida <fellows3@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Removed redundant text-decoration when element is link with .btn class (a.btn) and $link-decoration variable is set to 'underline'.
.btn-link also works with this fix, because .btn-link declaration located below.
Upd.
Fixed text-decoration for: