mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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`
|
||||
pre {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
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;
|
||||
margin-top: 16px;
|
||||
}
|
||||
pre {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
margin: 0px;
|
||||
overflow-wrap: break-word;
|
||||
white-space: pre-line;
|
||||
}
|
||||
hr {
|
||||
border-color: var(--divider-color);
|
||||
border-bottom: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user