Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Koos
@koos@mastodon.green  ·  activity timestamp 2 weeks ago

A common challenge with #CSS layouts is items that are too wide for the screen, causing horizontal scroll bars. The easy fix is to add overflow-x: auto; to the layout.

But somebody posted once somewhere that you shouldn't do that, as the problem is with the wide element and not with the layout. By blocking scroll on the layout level, you're likely not going to notice that you're hiding content that way.

I didn't want to believe that, but it's been annoyingly consistently true for me!

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login