celinaberg / BitFit

An app designed to help students learn to write and read C code.
MIT License
0 stars 0 forks source link

Client side formatting is wrong in production mode #62

Closed alythobani closed 5 years ago

alythobani commented 5 years ago

screen shot 2018-12-22 at 11 35 38 am

Something to do with Bootstrap columns implemented in React (Col) that have position: fixed; which messes up the positioning of the other Cols within the encompassing Row. The weird part is it worked fine before we made some VM updates. It also works fine when run locally in dev mode.

alythobani commented 5 years ago

Alright. Fixed it by setting position: sticky; instead, from Bootstrap 4. Not fully sure why it was only a bug on the production server, but at least it's fixed.

screen shot 2018-12-22 at 12 10 30 pm

Merged to master.