mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Make borders for discovery card header seamless (#14322)
This commit is contained in:
parent
0aae285236
commit
8b8a85b4b8
@ -129,8 +129,10 @@ export class HaIntegrationHeader extends LitElement {
|
|||||||
color: var(--text-on-state-color);
|
color: var(--text-on-state-color);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border-top-left-radius: var(--ha-card-border-radius, 12px);
|
|
||||||
border-top-right-radius: var(--ha-card-border-radius, 12px);
|
/* Padding is subtracted for nested elements with border radiuses */
|
||||||
|
border-top-left-radius: calc(var(--ha-card-border-radius, 12px) - 2px);
|
||||||
|
border-top-right-radius: calc(var(--ha-card-border-radius, 12px) - 2px);
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user