Skip to content

Commit

Permalink
Fix #81
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekashery committed Mar 23, 2020
1 parent 4931940 commit da1c36d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 61 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.3.2
58 changes: 0 additions & 58 deletions changelog.md

This file was deleted.

7 changes: 5 additions & 2 deletions vertical-stack-in-card.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const vsinVersion = '0.3.2';
console.log(`%cvertical-stack-in-card\n%cVersion: ${vsinVersion}`, 'color: #1976d2; font-weight: bold;', '');

class VerticalStackInCard extends HTMLElement {
constructor() {
super();
Expand Down Expand Up @@ -116,7 +119,7 @@ class VerticalStackInCard extends HTMLElement {
if (element.shadowRoot.querySelector('ha-card')) {
let ele = element.shadowRoot.querySelector('ha-card')
ele.style.boxShadow = 'none';
ele.style.borderRadius = '0';
// ele.style.borderRadius = '0';
} else {
let searchEles = element.shadowRoot.getElementById('root');
if (!searchEles) {
Expand All @@ -135,7 +138,7 @@ class VerticalStackInCard extends HTMLElement {
if (typeof element.querySelector === 'function' && element.querySelector('ha-card')) {
let ele = element.querySelector('ha-card')
ele.style.boxShadow = 'none';
ele.style.borderRadius = '0';
// ele.style.borderRadius = '0';
}
let searchEles = element.childNodes;
for (let i = 0; i < searchEles.length; i++) {
Expand Down

0 comments on commit da1c36d

Please sign in to comment.