fix(frontend): center loading spinner on large screens by using full-viewport container and removing #root max-width constraint
This commit is contained in:
parent
4f440267bd
commit
7618c40a77
@ -12,8 +12,9 @@ html, body, #root {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ensure full-viewport centering for loading state */
|
||||||
#root {
|
#root {
|
||||||
max-width: 1280px;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|||||||
@ -405,7 +405,7 @@ const RekordboxReader: React.FC = () => {
|
|||||||
|
|
||||||
if (xmlLoading) {
|
if (xmlLoading) {
|
||||||
return (
|
return (
|
||||||
<Flex height="100vh" align="center" justify="center" direction="column" gap={4}>
|
<Flex height="100vh" width="100vw" align="center" justify="center" direction="column" gap={4}>
|
||||||
<Spinner size="xl" />
|
<Spinner size="xl" />
|
||||||
<Text>Loading your library...</Text>
|
<Text>Loading your library...</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user