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

This commit is contained in:
Eloízio Salgado authored and Erik Ziegler committed 2016-11-15 08:25:09 +01:00
1 parent 0319ea38c7
commit 87331b7254
3 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@
</div> </div>
</a> </a>
{{ #if studyListToggleText }} {{ #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}} {{studyListToggleText}}
</a> </a>
{{ /if }} {{ /if }}
@@ -40,6 +40,10 @@ Template.app.helpers({
onStudyList() { onStudyList() {
return (Session.get('activeContentId') === 'studylistTab'); return (Session.get('activeContentId') === 'studylistTab');
},
dasherize(text) {
return text.replace(/ /g, '-').toLowerCase();
} }
}); });
@@ -38,6 +38,9 @@ $expandedHeight = 160px
margin: 3px 0 0 10px margin: 3px 0 0 10px
padding: 0 0 0 10px padding: 0 0 0 10px
&#back-to-viewer-btn
border-left: 0
.btn .btn
theme('color', '$textSecondaryColor') theme('color', '$textSecondaryColor')
cursor: pointer cursor: pointer