Don't use card-link classes
The card-link class does also other things with padding and spacing. Instead, apply the style override to all links in the list HTML.
This commit is contained in:
parent
8b798e1d30
commit
e795544dc3
|
@ -22,13 +22,9 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
// Card link anchors should inherit the color from
|
||||
// the card and use the underline
|
||||
.card-body .card-text a.card-link {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.card-body .card-text a.card-link {
|
||||
// Card link anchors should inherit the color from the card and use the
|
||||
// underline text decoration
|
||||
.card-body .card-text a {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
|
@ -6476,10 +6476,7 @@ body {
|
|||
.card-columns {
|
||||
column-count: 2; } }
|
||||
|
||||
.card-body .card-text a.card-link {
|
||||
color: inherit; }
|
||||
|
||||
.card-body .card-text a.card-link {
|
||||
.card-body .card-text a {
|
||||
color: inherit;
|
||||
text-decoration: underline; }
|
||||
|
||||
|
|
|
@ -70,9 +70,7 @@ function updateListHTML(listElem) {
|
|||
url: '/lists/' + listId,
|
||||
headers: { 'Accept': 'text/html' }
|
||||
}).done(function(html) {
|
||||
$('.list-html', listElem).html(html)
|
||||
.find("a").addClass("card-link");
|
||||
|
||||
$('.list-html', listElem).html(html);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue