Skip to content

Commit

Permalink
Merge pull request #22 from gazoodle/master
Browse files Browse the repository at this point in the history
Update refreshable-picture-card.js
  • Loading branch information
dimagoltsman authored Feb 20, 2023
2 parents cbc5bc1 + b0422d8 commit 1b8ad89
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dist/refreshable-picture-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ class ResfeshablePictureCard extends HTMLElement {
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
background: var( --ha-card-background, var(--card-background-color, white) );
box-shadow: var(--ha-card-box-shadow, none);
box-sizing: border-box;
border-width: var(--ha-card-border-width, 1px);
border-style: solid;
border-color: var( --ha-card-border-color, var(--divider-color, #e0e0e0) );
color: var(--primary-text-color);
transition: all 0.3s ease-out 0s;
position: relative;
border-radius: var(--ha-card-border-radius, 12px);
`;
if(config.noMargin) {
css+=`width: 100%`;
Expand Down

0 comments on commit 1b8ad89

Please sign in to comment.