I have multiple layouts in my Inertia app,
Layout-Main. Both use
I grab a Sign-in component from TailwindUI but it requires updating the
<body> tags. Have you guys dealt with this before?
I don't want to update my
app.blade.php to add the classes in the
<body> tags because I think it will affect other pages.
Sign-in component from TailwindUI:
<template> <!-- This example requires updating your template: ``` <html class="h-full bg-gray-50"> <body class="h-full"> ``` --> <div class="flex min-h-full flex-1 flex-col justify-center py-12 sm:px-6 lg:px-8"> ...
h-full is just setting the height to
100%. I thought it was
min-height: 100vh;. 😅