actually keep "[x] as userccs" together

This commit is contained in:
tophf 2017-12-05 20:58:39 +03:00
parent 82e45460fa
commit fe4be8d5db
2 changed files with 6 additions and 11 deletions

View File

@ -258,7 +258,7 @@
<a href="edit.html"> <a href="edit.html">
<button id="add-style-label" i18n-text="addStyleLabel"></button> <button id="add-style-label" i18n-text="addStyleLabel"></button>
</a> </a>
<label id="newStyleAsUsercss-wrapper" class="nobreak"> <label id="newStyleAsUsercss-wrapper">
<input type="checkbox" id="newStyleAsUsercss"> <input type="checkbox" id="newStyleAsUsercss">
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg> <svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
<span i18n-text="manageNewStyleAsUsercss" i18n-title="optionsAdvancedNewStyleAsUsercss"></span> <span i18n-text="manageNewStyleAsUsercss" i18n-title="optionsAdvancedNewStyleAsUsercss"></span>

View File

@ -90,21 +90,16 @@ select {
margin-bottom: .25em; margin-bottom: .25em;
} }
#newStyleAsUsercss-wrapper {
display: inline-flex;
}
#newStyleAsUsercss-wrapper:not(:hover) input:not(:checked) ~ a svg { #newStyleAsUsercss-wrapper:not(:hover) input:not(:checked) ~ a svg {
fill: #aaa; fill: #aaa;
} }
#usercss-wiki svg { #usercss-wiki svg {
margin-top: -2px; margin-top: -4px;
}
.nobreak {
white-space: nowrap;
}
label.nobreak input {
vertical-align: sub;
margin: 0;
} }
.firefox .chromium-only { .firefox .chromium-only {