bu-ist / responsive-child-starter

A starter template for themes using Responsive Framework version 2.
3 stars 2 forks source link

Bug: Sidebar isn't dropping below content on small screen sizes #64

Open crystalms opened 4 years ago

crystalms commented 4 years ago

Describe the bug The sidebar isn't dropping below the content on smaller screen sizes because of the display: flex; and clear: none; styles being applied. Right now, it's getting squished and cut off of the page.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://id-presents.cms-devl.bu.edu/sph/admissions/test-page/
  2. Scale browser down to smaller widths
  3. See how sidebar isn't dropping like it should, instead gets cut off

Expected behavior The sidebar should drop beneath the content on small screen sizes.

Screenshots

Screen Shot 2020-05-07 at 4 23 53 PM

Desktop (please complete the following information):

crystalms commented 4 years ago

I did some initial poking around and I believe this line is what's causing the issue: https://github.com/bu-ist/responsive-foundation/blob/64db40c8b373e318da8e9e4088cf07a47f1a0484/css-dev/burf-theme/layout/_content-area.scss#L181

If I remove the display: flex and flex-wrap: wrap styles, it works as intended.