Fix: enforce display:flex on login-screen and app-screen to prevent layout breaking on logout/login
This commit is contained in:
1 parent
56052011fc
commit
33ad75d571
2 files changed
+47
-8
No files matched your search
@@ -118,6 +118,20 @@ $currentUser = Auth::getUsername();
|
||||
border-color: #6366f1 !important;
|
||||
box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4) !important;
|
||||
}
|
||||
|
||||
/* 5. Layout flex garanti pour les écrans login et dashboard */
|
||||
#login-screen:not(.hidden) {
|
||||
display: flex !important;
|
||||
}
|
||||
#login-screen.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
#app-screen:not(.hidden) {
|
||||
display: flex !important;
|
||||
}
|
||||
#app-screen.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="min-h-screen w-full bg-anthracite-900 text-slate-100 antialiased selection:bg-indigo-500 selection:text-white">
|
||||
|
||||
Reference in new issue
Block a user