FIX: Don't hide the button at the top, only the bottom

This commit is contained in:
Robin Ward 2016-05-27 14:08:31 -04:00
parent bebc907243
commit 6067de0e8f
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D
2 changed files with 6 additions and 1 deletions

View File

@ -187,7 +187,9 @@ createWidget('timeline-scrollarea', {
createWidget('topic-timeline-container', { createWidget('topic-timeline-container', {
tagName: 'div.timeline-container', tagName: 'div.timeline-container',
buildClasses(attrs) { buildClasses(attrs) {
if (attrs.dockAt !== null) { return 'timeline-docked'; } if (attrs.dockAt !== null) {
return attrs.dockAt > 0 ? 'timeline-docked timeline-docked-bottom' : 'timeline-docked';
}
}, },
buildAttributes(attrs) { buildAttributes(attrs) {

View File

@ -12,6 +12,9 @@
&.timeline-docked { &.timeline-docked {
position: absolute; position: absolute;
}
&.timeline-docked-bottom {
.timeline-footer-controls { .timeline-footer-controls {
background-color: yellow; background-color: yellow;
visibility: hidden; visibility: hidden;