blocknotes / activeadmin_blaze_theme

A theme for Active Admin based on Blaze CSS 3.x
MIT License
46 stars 12 forks source link

Fix horizontal scroll bar being always visible in index as table #6

Closed Fs00 closed 3 years ago

Fs00 commented 3 years ago

Hello! I've found out that the horizontal scroll bar in index-as-table pages is always visible, even when content does not overflow (the element pointed out in the screenshot below is the scroll bar that gets rendered when there is no overflow).

scrollbar_overflow

Setting overflow-x rule to auto in the CSS fixes the issue.

blocknotes commented 3 years ago

I can't see the issue on the Mac 😅 (probably because of the auto hiding scrollbars), but the change looks good.

Fs00 commented 3 years ago

It's probably browser-dependent, I noticed the issue on Firefox but I'm not sure if it affected other browsers. Thanks for merging!