openstax / accounts

OpenStax centralized authentication and accounts service

Home Page:https://accounts.openstax.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify css to incorporate responsive resizing

nathanstitt opened this issue · comments

Currently all pages are a fixed 960px wide, which isn't bad but doesn't scale terribly well on smaller screens or very wide ones.

We should rework the styles to use flex layouts that can work better on both sizes. There's a start of the styles needed to do so in app/assets/stylesheets/condensed.css.scss Those styles are only applied if the body has a condensed class, which is set for use inside an iframe.