Skip to content

Commit

Permalink
Removed padding around card images
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffyactive committed Jan 19, 2024
1 parent bb518de commit 8345697
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/live-directory.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright reelyActive 2021-2023
* Copyright reelyActive 2021-2024
* We believe in an open Internet of Things
*/

Expand Down Expand Up @@ -153,11 +153,11 @@ function prepareCard(story, deviceSignature) {
let disappearanceIcon = createElement('i', 'fas fa-sign-out-alt');
let lastSeen = createElement('span', null);
let footer = createElement('div',
'card-footer text-center text-muted bg-transparent',
[ disappearanceIcon, '\u00a0', lastSeen ]);
'card-footer text-center text-body-secondary bg-transparent',
[ disappearanceIcon, '\u00a0', lastSeen ]);
let col = createElement('div', 'col', card);
card.appendChild(footer);
card.setAttribute('class', 'card hover-shadow');
card.setAttribute('class', 'card hover-shadow px-0');
footer.setAttribute('id', deviceSignature + '-footer');
footer.hidden = true;

Expand Down

0 comments on commit 8345697

Please sign in to comment.