LT-310: Remove 'Back to viewer' left border in study list

This commit is contained in:
Eloízio Salgado 2016-11-09 11:48:42 -02:00 committed by Erik Ziegler
parent 0319ea38c7
commit 87331b7254
3 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,7 @@
</div>
</a>
{{ #if studyListToggleText }}
<a class="btn studyListLinkSection pull-left js-toggle-studyList">
<a class="btn studyListLinkSection pull-left js-toggle-studyList" id="{{dasherize studyListToggleText}}-btn">
{{studyListToggleText}}
</a>
{{ /if }}

View File

@ -40,6 +40,10 @@ Template.app.helpers({
onStudyList() {
return (Session.get('activeContentId') === 'studylistTab');
},
dasherize(text) {
return text.replace(/ /g, '-').toLowerCase();
}
});

View File

@ -37,6 +37,9 @@ $expandedHeight = 160px
theme('border-left', '%s solid $uiBorderColor' % $uiBorderThickness)
margin: 3px 0 0 10px
padding: 0 0 0 10px
&#back-to-viewer-btn
border-left: 0
.btn
theme('color', '$textSecondaryColor')