FIX: Don't hide the button at the top, only the bottom
This commit is contained in:
parent
bebc907243
commit
6067de0e8f
|
@ -187,7 +187,9 @@ createWidget('timeline-scrollarea', {
|
|||
createWidget('topic-timeline-container', {
|
||||
tagName: 'div.timeline-container',
|
||||
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) {
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
&.timeline-docked {
|
||||
position: absolute;
|
||||
|
||||
}
|
||||
|
||||
&.timeline-docked-bottom {
|
||||
.timeline-footer-controls {
|
||||
background-color: yellow;
|
||||
visibility: hidden;
|
||||
|
|
Loading…
Reference in New Issue