moot

Open full view…

Fix comment boxe in top comments

jrdiniz
Wed, 13 Sep 2017 19:54:57 GMT

Hw can I fix te commentary box on the top of the comments list? [ScreenHunter 161](//muut.com/u/moot/s1/:moot:PnEH:screenhunter161.png.jpg)

Monika
Wed, 13 Sep 2017 20:51:57 GMT

Hmm... I'm not sure if that can be easily done. I'm not our CSS expert so let me ask the team and see what we can come up with

Janne Lehtinen
Wed, 13 Sep 2017 21:05:23 GMT

Simplest way to do that is to use flexbox: --- css .m-moot { display: flex; flex-direction: column-reverse; } .m-comment-head { order: 1; } --- First we set the Muut container to use flexbox, then we define its contents to display as columns and in reverse order, and finally we move the comment head back to the top :)

jrdiniz
Thu, 14 Sep 2017 14:30:18 GMT

Thanks Janne, the comment box works!, but order of comments doesn't the new commentary are showing in the end not at the begining of the scroll. [ScreenHunter 162](//muut.com/u/moot/s1/:moot:UeyR:screenhunter162.png.jpg)