mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Move attribute pre styles to ha-attribute-value component (#18649)
This commit is contained in:
parent
e94461f7fe
commit
8d37c5612b
@ -62,8 +62,11 @@ class HaAttributeValue extends LitElement {
|
|||||||
|
|
||||||
static styles = css`
|
static styles = css`
|
||||||
pre {
|
pre {
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
white-space: pre-wrap;
|
overflow-wrap: break-word;
|
||||||
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
@ -125,13 +125,6 @@ class HaAttributes extends LitElement {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
pre {
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: inherit;
|
|
||||||
margin: 0px;
|
|
||||||
overflow-wrap: break-word;
|
|
||||||
white-space: pre-line;
|
|
||||||
}
|
|
||||||
hr {
|
hr {
|
||||||
border-color: var(--divider-color);
|
border-color: var(--divider-color);
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user