mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-11 19:36:35 +00:00
Move horizontal padding from state-cards to containing entity-card (#799)
This commit is contained in:
parent
fbe44598ac
commit
6fd8ad52b0
@ -12,10 +12,10 @@
|
|||||||
<style is="custom-style" include="iron-flex"></style>
|
<style is="custom-style" include="iron-flex"></style>
|
||||||
<style>
|
<style>
|
||||||
ha-card {
|
ha-card {
|
||||||
padding: 16px 0;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
.state {
|
.state {
|
||||||
padding: 4px 16px;
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
@apply(--paper-font-headline);
|
@apply(--paper-font-headline);
|
||||||
@ -23,7 +23,7 @@
|
|||||||
compensating this with reduced padding */
|
compensating this with reduced padding */
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
color: var(--primary-text-color);
|
color: var(--primary-text-color);
|
||||||
padding: 4px 16px 12px;
|
padding: 4px 0 12px;
|
||||||
}
|
}
|
||||||
.header .name {
|
.header .name {
|
||||||
@apply(--paper-font-common-nowrap);
|
@apply(--paper-font-common-nowrap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user