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 { static get styles(): CSSResult {
return css` return css`
.actions { .actions {
margin: 0 8px; margin: 0;
padding-top: 20px; padding-top: 20px;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

View File

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

View File

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

View File

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

View File

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