Skip to content

Commit

Permalink
Revert "Automation/Script editor border-radius fix (#23267)" (#23475)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten authored Dec 30, 2024
2 parents 1d0c3da + ab9759c commit f013884
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -614,9 +614,6 @@ export default class HaAutomationActionRow extends LitElement {
ha-icon-button {
--mdc-theme-text-primary-on-background: var(--primary-text-color);
}
ha-card {
overflow: hidden;
}
.disabled {
opacity: 0.5;
pointer-events: none;
Expand Down Expand Up @@ -649,6 +646,8 @@ export default class HaAutomationActionRow extends LitElement {
.disabled-bar {
background: var(--divider-color, #e0e0e0);
text-align: center;
border-top-right-radius: var(--ha-card-border-radius, 12px);
border-top-left-radius: var(--ha-card-border-radius, 12px);
}
mwc-list-item[disabled] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,6 @@ export default class HaAutomationConditionRow extends LitElement {
ha-button-menu {
--mdc-theme-text-primary-on-background: var(--primary-text-color);
}
ha-card {
overflow: hidden;
}
.disabled {
opacity: 0.5;
pointer-events: none;
Expand Down Expand Up @@ -539,6 +536,8 @@ export default class HaAutomationConditionRow extends LitElement {
.disabled-bar {
background: var(--divider-color, #e0e0e0);
text-align: center;
border-top-right-radius: var(--ha-card-border-radius, 12px);
border-top-left-radius: var(--ha-card-border-radius, 12px);
}
ha-list-item[disabled] {
--mdc-theme-text-primary-on-background: var(--disabled-text-color);
Expand All @@ -560,6 +559,8 @@ export default class HaAutomationConditionRow extends LitElement {
overflow: hidden;
transition: max-height 0.3s;
text-align: center;
border-top-right-radius: var(--ha-card-border-radius, 12px);
border-top-left-radius: var(--ha-card-border-radius, 12px);
}
.testing.active {
max-height: 100px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,6 @@ export default class HaAutomationTriggerRow extends LitElement {
ha-button-menu {
--mdc-theme-text-primary-on-background: var(--primary-text-color);
}
ha-card {
overflow: hidden;
}
.disabled {
opacity: 0.5;
pointer-events: none;
Expand Down Expand Up @@ -686,6 +683,8 @@ export default class HaAutomationTriggerRow extends LitElement {
.disabled-bar {
background: var(--divider-color, #e0e0e0);
text-align: center;
border-top-right-radius: var(--ha-card-border-radius, 12px);
border-top-left-radius: var(--ha-card-border-radius, 12px);
}
.triggered {
cursor: pointer;
Expand All @@ -702,6 +701,8 @@ export default class HaAutomationTriggerRow extends LitElement {
overflow: hidden;
transition: max-height 0.3s;
text-align: center;
border-top-right-radius: var(--ha-card-border-radius, 12px);
border-top-left-radius: var(--ha-card-border-radius, 12px);
}
.triggered.active {
max-height: 100px;
Expand Down
5 changes: 2 additions & 3 deletions src/panels/config/script/ha-script-field-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,6 @@ export default class HaScriptFieldRow extends LitElement {
ha-icon-button {
--mdc-theme-text-primary-on-background: var(--primary-text-color);
}
ha-card {
overflow: hidden;
}
.disabled {
opacity: 0.5;
pointer-events: none;
Expand Down Expand Up @@ -330,6 +327,8 @@ export default class HaScriptFieldRow extends LitElement {
.disabled-bar {
background: var(--divider-color, #e0e0e0);
text-align: center;
border-top-right-radius: var(--ha-card-border-radius, 12px);
border-top-left-radius: var(--ha-card-border-radius, 12px);
}
ha-list-item[disabled] {
Expand Down

0 comments on commit f013884

Please sign in to comment.