Remove label's text from css, so it gets translatable. #50.

Thanks for the comment to NejcZdovc!
This commit is contained in:
Arpad Csanyi
2016-05-31 23:18:04 +02:00
parent 4d548b8c03
commit 7dbf9c0b75
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
</div>
<div class="row uhk--wrapper">
<div class="col-xs-12 text-center" style="margin-bottom: 2rem;">
<span class="uhk__layer-switcher--wrapper" role="">
<span class="uhk__layer-switcher--wrapper" role="" data-title="Layers: ">
<button type="button" data-layer="base" class="uhk__layer-switcher btn btn-primary btn-lg current">Base</button>
<button type="button" data-layer="mod" class="uhk__layer-switcher btn btn-default btn-lg">Mod</button>
<button type="button" data-layer="fn" class="uhk__layer-switcher btn btn-default btn-lg">Fn</button>

View File

@@ -152,7 +152,7 @@ ul {
position: relative;
&:before {
content: 'Layers: ';
content: attr(data-title);
display: inline-block;
position: absolute;
bottom: -0.3em;