Skip to content

Commit

Permalink
Adding cloak to main div
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed May 24, 2024
1 parent decd08d commit 05b33e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@include('auth::includes.head')
</head>
<body id="auth-body" class="overflow-hidden relative w-screen h-screen" style="background-color:{{ config('devdojo.auth.appearance.background.color') }}">
<div class="relative w-full h-full">
<div x-data class="relative w-full h-full" x-cloak>
@if(config('devdojo.auth.appearance.background.image'))
<img src="{{ config('devdojo.auth.appearance.background.image') }}" id="auth-background-image" class="object-cover absolute z-10 w-screen h-screen" />
<div id="auth-background-image-overlay" class="absolute inset-0 z-20 w-screen h-screen" style="background-color:{{ config('devdojo.auth.appearance.background.image_overlay_color') }}; opacity:{{ config('devdojo.auth.appearance.background.image_overlay_opacity') }};"></div>
Expand Down

0 comments on commit 05b33e8

Please sign in to comment.