style: adjust height classes with h-full instat of h-screen
All checks were successful
container-scan / Container Scan (pull_request) Successful in 2m25s
docker-build / docker (pull_request) Successful in 3m26s
tests / Tests (pull_request) Successful in 2m59s

This commit is contained in:
micha 2025-06-30 11:23:47 +02:00
parent 1c082b9eb1
commit 4c07c0466e
3 changed files with 5 additions and 7 deletions

View file

@ -40,14 +40,12 @@ export default function ShowEvent() {
if (isLoading || userLoading) {
return (
<div className='flex justify-center items-center h-screen'>
Loading...
</div>
<div className='flex justify-center items-center h-full'>Loading...</div>
);
}
if (error || !eventData?.data?.event) {
return (
<div className='flex justify-center items-center h-screen'>
<div className='flex justify-center items-center h-full'>
Error loading event.
</div>
);
@ -70,7 +68,7 @@ export default function ShowEvent() {
};
return (
<div className='flex items-center justify-center h-screen'>
<div className='flex items-center justify-center h-full'>
<Card className='w-[80%] max-w-screen p-0 gap-0 max-xl:w-[95%] mx-auto'>
<CardHeader className='p-0 m-0 gap-0' />