tinyplex / tinybase

The reactive data store for local‑first apps.
https://tinybase.org
MIT License
3.39k stars 67 forks source link

[docs] CSS overflow scroll fix for desktop view. #72

Closed doubleInc closed 11 months ago

doubleInc commented 12 months ago

Summary

On desktop view of the homepage(index), the scroll bar for the horizontal view is fixed even though no content is overflowing. This is also the case when viewing the Api, Demos and Guides.

Changing the overflow value to 'auto' improves the overall presentation(layout.less). That is, if the content does overflow along the x and y axis, then scroll bars will be shown.

On the main index page(article.less), I included both overflow-x and overflow-y properties to retain the original y axis behavior of forcing the scroll.

How did you test this change?

Using firefox and chrome browsers on desktop view. No presentational issues were present on mobile view, no changes were made to responsive views.

jamesgpearce commented 11 months ago

Thank you! I think I have the Mac OS setting where scrollbars automatically disappear when not used. I probably never saw these :(