Fix card picker cards (#7871)

This commit is contained in:
Bram Kragten 2020-12-02 17:46:30 +01:00 committed by GitHub
parent 7b392b626b
commit ba90785115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,10 +353,9 @@ export class HuiCardPicker extends LitElement {
max-width: 500px; max-width: 500px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-radius: var(--ha-card-border-radius); border-radius: var(--ha-card-border-radius, 4px);
background: var(--primary-background-color, #fafafa); background: var(--primary-background-color, #fafafa);
cursor: pointer; cursor: pointer;
box-sizing: border-box;
position: relative; position: relative;
} }
@ -374,7 +373,6 @@ export class HuiCardPicker extends LitElement {
--ha-card-background, --ha-card-background,
var(--card-background-color, white) var(--card-background-color, white)
); );
border-radius: 0 0 4px 4px;
border-bottom: 1px solid var(--divider-color); border-bottom: 1px solid var(--divider-color);
} }
@ -407,11 +405,10 @@ export class HuiCardPicker extends LitElement {
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 1; z-index: 1;
border: var(--ha-card-border-width, 1px) solid var( box-sizing: border-box;
--ha-card-border-color, border: var(--ha-card-border-width, 1px) solid
var(--divider-color) var(--ha-card-border-color, var(--divider-color));
); border-radius: var(--ha-card-border-radius, 4px);
border-radius: var(--ha-card-border-radius);
} }
.manual { .manual {