Closed damsfx closed 2 years ago
wouldn't that only remove the vertical scrollbar @damsfx ?
never mind, the verticall scrollbar itself make the width too large and that by itself adds the horizontal scrollbar as well...
change:
to use w-full
rather than w-screen
change: to use
w-full
rather thanw-screen
@LukeTowers Do you think you have time to make this change or do you prefer a PR?
@damsfx I'd prefer a PR with screenshots if someone can manage it. Assets can be compiled with artisan mix:install
to add the plugin to your project's package.json, and then artisan mix:compile --production -p winter.tailwindui
to compile the assets.
Using
@apply h-screen
for thelayout
container, gives me scrollbars in every backend pages.https://github.com/wintercms/wn-tailwindui-plugin/blob/a34b50bd0273c1a6950ba147b08950e09b2ff968/assets/css/src/custom.css#L140
Tested on Windows on Firefox, Edge and Chrome.
Replacing it with
height : calc(100vh - 4rem)
remove the scrollbars. Need to removelayout-topmenu
container's height.