Small fixes (#2248)

* Small fixes

* remove returning on undefined in statename

* 16px -> 4px

* Styling
This commit is contained in:
Bram Kragten 2018-12-10 19:44:34 +01:00 committed by Paulus Schoutsen
parent 7d2444868d
commit b0c68e58c5
2 changed files with 9 additions and 3 deletions

View File

@ -81,7 +81,7 @@ class LovelacePanel extends hassLocalizeLitMixin(LitElement) {
.showMenu="${this.showMenu}" .showMenu="${this.showMenu}"
> >
<paper-button on-click="_forceFetchConfig" <paper-button on-click="_forceFetchConfig"
>Reload ui-lovelace.yaml</paper-button >Reload Lovelace</paper-button
> >
</hass-error-screen> </hass-error-screen>
`; `;

View File

@ -91,13 +91,19 @@ class LovelaceFullConfigEditor extends hassLocalizeLitMixin(LitElement) {
height: 100vh; height: 100vh;
} }
paper-button {
font-size: 16px;
}
.content { .content {
height: calc(100vh - 64px); height: calc(100vh - 68px);
} }
textarea { textarea {
height: calc(100% - 16px); box-sizing: border-box;
height: 100%;
width: 100%; width: 100%;
resize: none;
border: 0; border: 0;
outline: 0; outline: 0;
font-size: 12pt; font-size: 12pt;