bitcrowd / bitstyles_phoenix

A collection of Elixir phoenix helpers for bitstyles
ISC License
12 stars 0 forks source link

Sidebar on smaller screen sets `display: block` instead of the flex #135

Open agatheblues opened 2 months ago

agatheblues commented 2 months ago

There is a bug in bitstyles_phoenix.

It's applying the class u-flex to the sidebar that that will never work for smaller screen. The sidebar's logic to hide and show itself applies an inline style of display: block, which overrides display: flex from .u-flex.

As a result, positioning an element at the bottom of the sidebar for example will not work.