The desired outcome is a css snippet, that…
- lets one scale the width of a inline database view, and
- dynamically keeps it aligned to the left (where the text begins), so it only extends beyond the right edge of the page
make_database_views_wide.css (2.1 KB)
This seems to be actually rather complicated - at least with the approach i took. My current script works perfectly as it currently is, on my 2 screens, but it works using magic numbers, which dont adapt to the width scaling factor, and have to be manually reset via guesswork if you want to make a change to the scaling factor.
Ideally someone has a better script or finds out analytical formulas for the magic numbers.
I attached my current script to the post (its kinda poopoo and vibe-coded)
