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', {
|
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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue