From 7dbf9c0b754b84d7245ea478e8c128e55e8a44b3 Mon Sep 17 00:00:00 2001 From: Arpad Csanyi Date: Tue, 31 May 2016 23:18:04 +0200 Subject: [PATCH] Remove label's text from css, so it gets translatable. #50. Thanks for the comment to NejcZdovc! --- index.html | 2 +- sass/app.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a13e18af..56daece5 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,7 @@
- + diff --git a/sass/app.scss b/sass/app.scss index e4d5b651..2dec3889 100644 --- a/sass/app.scss +++ b/sass/app.scss @@ -152,7 +152,7 @@ ul { position: relative; &:before { - content: 'Layers: '; + content: attr(data-title); display: inline-block; position: absolute; bottom: -0.3em;