Fix position of 'inline' Find Styles w/ latest merge.

This commit is contained in:
derv82 2017-12-04 20:18:02 -08:00
parent f580c10e85
commit 3467d7e58b
2 changed files with 12 additions and 7 deletions

View File

@ -168,11 +168,11 @@
<a id="find-styles-link" i18n-text="findStylesForSite"></a> <a id="find-styles-link" i18n-text="findStylesForSite"></a>
<span id="find-styles-inline-group"> <span id="find-styles-inline-group">
<label> <label>
<input id="find-styles-inline" class="checker" type="checkbox" checked /> <input id="find-styles-inline" class="checker" type="checkbox" checked />
<svg class="svg-icon checked" viewBox="0 0 1000 1000"> <svg class="svg-icon checked" viewBox="0 0 1000 1000">
<path fill-rule="evenodd" d="M983.2,184.3L853,69.8c-4-3.5-9.3-5.3-14.5-5c-5.3,0.4-10.3,2.8-13.8,6.8L352.3,609.2L184.4,386.9c-3.2-4.2-8-7-13.2-7.8c-5.3-0.8-10.6,0.6-14.9,3.9L18,487.5c-8.8,6.7-10.6,19.3-3.9,28.1L325,927.2c3.6,4.8,9.3,7.7,15.3,8c0.2,0,0.5,0,0.7,0c5.8,0,11.3-2.5,15.1-6.8L985,212.6C992.3,204.3,991.5,191.6,983.2,184.3z"/> <path fill-rule="evenodd" d="M983.2,184.3L853,69.8c-4-3.5-9.3-5.3-14.5-5c-5.3,0.4-10.3,2.8-13.8,6.8L352.3,609.2L184.4,386.9c-3.2-4.2-8-7-13.2-7.8c-5.3-0.8-10.6,0.6-14.9,3.9L18,487.5c-8.8,6.7-10.6,19.3-3.9,28.1L325,927.2c3.6,4.8,9.3,7.7,15.3,8c0.2,0,0.5,0,0.7,0c5.8,0,11.3-2.5,15.1-6.8L985,212.6C992.3,204.3,991.5,191.6,983.2,184.3z"/>
</svg> </svg>
<span i18n-text="findStylesForSiteInline"></span> <span i18n-text="findStylesForSiteInline"></span>
</label> </label>
</span> </span>
</div> </div>

View File

@ -112,7 +112,12 @@ body.search-results-shown {
text-align: center; text-align: center;
} }
#find-styles-inline-group input[type="checkbox"],
#find-styles-inline-group .svg-icon.checked { #find-styles-inline-group .svg-icon.checked {
margin-top: 5px; position: relative;
margin-left: -13px; }
#find-styles-inline-group .svg-icon.checked {
margin-left: -13px;
margin-right: 2px;
} }