Fix link support in list HTML
* Add the card-link class to all anchors in the HTML * Override the default Bootstrap styling for links in card text
This commit is contained in:
parent
c2baff37f3
commit
a7a90ce84b
|
@ -18,3 +18,14 @@ body {
|
|||
column-count: 2;
|
||||
}
|
||||
}
|
||||
|
||||
// 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 {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
|
@ -6476,4 +6476,11 @@ body {
|
|||
.card-columns {
|
||||
column-count: 2; } }
|
||||
|
||||
.card-body .card-text a.card-link {
|
||||
color: inherit; }
|
||||
|
||||
.card-body .card-text a.card-link {
|
||||
color: inherit;
|
||||
text-decoration: underline; }
|
||||
|
||||
/*# sourceMappingURL=wishlists.css.map */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -69,7 +69,11 @@ function updateListHTML(listElem) {
|
|||
$.ajax({
|
||||
url: '/lists/' + listId,
|
||||
headers: { 'Accept': 'text/html' }
|
||||
}).done(function(html) { $('.list-html', listElem).html(html); });
|
||||
}).done(function(html) {
|
||||
$('.list-html', listElem).html(html)
|
||||
.find("a").addClass("card-link");
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function saveListChanges(listElem) {
|
||||
|
|
Loading…
Reference in New Issue