Fix legend labels in Firefox, fix colored labels slider

This commit is contained in:
NBTX
2019-10-31 16:36:59 +00:00
parent e369791f37
commit 9ee398af19
2 changed files with 9 additions and 2 deletions

View File

@@ -252,13 +252,17 @@ fieldset {
} }
legend { legend {
display: flex; display: inline-block;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: var(--fg-color); color: var(--fg-color);
font-weight: 700; font-weight: 700;
cursor: pointer; cursor: pointer;
* {
vertical-align: middle;
}
i { i {
margin-left: 8px; margin-left: 8px;
} }

View File

@@ -37,7 +37,7 @@
</ul> </ul>
<ul> <ul>
<li> <li>
<h3 class="title">Frames</h3> <h3 class="title">Labels</h3>
<span> <span>
<pw-toggle <pw-toggle
:on="settings.FRAME_COLORS_ENABLED" :on="settings.FRAME_COLORS_ENABLED"
@@ -240,6 +240,9 @@
toggleSetting(key) { toggleSetting(key) {
this.settings[key] = !this.settings[key]; this.settings[key] = !this.settings[key];
this.$store.commit("postwoman/applySetting", [key, this.settings[key]]); this.$store.commit("postwoman/applySetting", [key, this.settings[key]]);
this.$router.replace('/settings', {
force: true
});
} }
}, },
beforeMount() { beforeMount() {