Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dialogs/more-info/controls/more-info-counter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs/more-info/controls/more-info-sun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs/more-info/controls/more-info-timer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 2 additions & 3 deletions src/panels/lovelace/cards/hui-alarm-panel-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class HuiAlarmPanelCard extends LitElement implements LovelaceCard {
color: var(--alarm-state-color);
position: absolute;
right: 12px;
top: 12px;
top: 8px;
cursor: pointer;
}

Expand Down Expand Up @@ -353,8 +353,7 @@ class HuiAlarmPanelCard extends LitElement implements LovelaceCard {
}

.actions {
margin: 0 8px;
padding-top: 20px;
margin: 0;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On smaller screens the actions are now touching the badge?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even on the smallest simulated screen, there is still space between them
image

display: flex;
flex-wrap: wrap;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion src/panels/lovelace/cards/hui-media-control-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard {

.more-info {
position: absolute;
top: 8px;
top: 4px;
right: 0px;
}

Expand Down