compserv / hknweb

The new HKN website (using Django, hopefully at hkn.eecs.berkeley.edu soon)
https://dev-hkn.eecs.berkeley.edu
MIT License
19 stars 113 forks source link

Fix for calendar overflow issue. #560

Closed 508312 closed 7 months ago

508312 commented 1 year ago

If screen size was above 1000px the offset of 12.5% from the left would be added to the calendar. However this would cause calendar with sidebar to overflow past the page. Changed the offset of calendar with sidebar to be 3.33%, this will mask the issue, until proper fix is found. (original calendar without the sidebar has the overflow issue too, but because of how far it is from the border it was never noticed)

508312 commented 1 year ago

Sorry for excessive commits, don't know if there is a way to squash them inside the pull request, if this is to be pulled just squashing to 1 commit should be pretty.

lo-maxwell commented 1 year ago

Sorry for the delay, this looks good, tested locally (by copy pasting changes lol) and everything seems okay. I'll merge this in when I get the chance.