Skip to content

Commit

Permalink
Buttons are now near the shutter
Browse files Browse the repository at this point in the history
  • Loading branch information
Deejayfool committed Jun 22, 2020
1 parent 0a6bc41 commit c04e2cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hass-shutter-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ class ShutterCard extends HTMLElement {
const style = document.createElement('style');
style.textContent = `
.sc-shutters { padding: 16px; }
.sc-shutter { margin-top: 1rem; }
.sc-shutter { margin-top: 1rem; overflow: hidden; }
.sc-shutter:first-child { margin-top: 0; }
.sc-shutter-middle { display: flex; }
.sc-shutter-middle { display: flex; width: 210px; margin: auto; }
.sc-shutter-buttons { flex: 1; text-align: center; margin-top: 0.4rem; }
.sc-shutter-selector { flex: 1; }
.sc-shutter-selector-picture { position: relative; margin: auto; background-size: cover; min-height: 150px; max-height: 100%; width: 153px; }
Expand Down

0 comments on commit c04e2cd

Please sign in to comment.