Reduce "wasted" screen space (#7655)

This commit is contained in:
Philip Allgaier 2020-11-23 13:44:47 +01:00 committed by GitHub
parent 0049be7feb
commit 4dcc0bb66c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 7 deletions

View File

@ -53,7 +53,7 @@ class MoreInfoCounter extends LitElement {
static get styles(): CSSResult {
return css`
.actions {
margin: 0 8px;
margin: 0;
padding-top: 20px;
display: flex;
flex-wrap: wrap;

View File

@ -67,7 +67,7 @@ class MoreInfoSun extends LitElement {
static get styles(): CSSResult {
return css`
.row {
margin: 0 8px;
margin: 0;
display: flex;
flex-direction: row;
justify-content: space-between;

View File

@ -76,7 +76,7 @@ class MoreInfoTimer extends LitElement {
static get styles(): CSSResult {
return css`
.actions {
margin: 0 8px;
margin: 0;
padding-top: 20px;
display: flex;
flex-wrap: wrap;

View File

@ -285,7 +285,7 @@ class HuiAlarmPanelCard extends LitElement implements LovelaceCard {
color: var(--alarm-state-color);
position: absolute;
right: 12px;
top: 12px;
top: 8px;
cursor: pointer;
}
@ -351,8 +351,7 @@ class HuiAlarmPanelCard extends LitElement implements LovelaceCard {
}
.actions {
margin: 0 8px;
padding-top: 20px;
margin: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;

View File

@ -691,7 +691,7 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard {
.more-info {
position: absolute;
top: 8px;
top: 4px;
right: 0px;
}