mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
FIX: Use visibility: hidden
to hide the buttons to avoid scrolling
This commit is contained in:
parent
7a66127a01
commit
bebc907243
@ -234,7 +234,7 @@ export default createWidget('topic-timeline', {
|
|||||||
action: 'jumpBottom'
|
action: 'jumpBottom'
|
||||||
})]);
|
})]);
|
||||||
|
|
||||||
if (currentUser && !attrs.dockAt) {
|
if (currentUser) {
|
||||||
const controls = [];
|
const controls = [];
|
||||||
if (attrs.topic.get('details.can_create_post')) {
|
if (attrs.topic.get('details.can_create_post')) {
|
||||||
controls.push(this.attach('button', {
|
controls.push(this.attach('button', {
|
||||||
|
@ -11,6 +11,11 @@
|
|||||||
|
|
||||||
&.timeline-docked {
|
&.timeline-docked {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
|
.timeline-footer-controls {
|
||||||
|
background-color: yellow;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-timeline {
|
.topic-timeline {
|
||||||
|
Loading…
Reference in New Issue
Block a user