Hide language switcher in registration flow on small screens (#1191)

This commit is contained in:
Leendert de Borst
2025-09-11 10:01:30 +02:00
committed by Leendert de Borst
parent 1fa9606491
commit af4ca2e018
3 changed files with 3652 additions and 30 deletions

View File

@@ -665,10 +665,6 @@ video {
z-index: 1000;
}
.col-span-2 {
grid-column: span 2 / span 2;
}
.col-span-full {
grid-column: 1 / -1;
}
@@ -1080,10 +1076,6 @@ video {
gap: 1.5rem;
}
.gap-8 {
gap: 2rem;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(0.25rem * var(--tw-space-x-reverse));
@@ -2519,18 +2511,10 @@ video {
margin-right: 0.5rem;
}
.sm\:inline {
display: inline;
}
.sm\:flex {
display: flex;
}
.sm\:hidden {
display: none;
}
.sm\:w-auto {
width: auto;
}
@@ -2609,18 +2593,10 @@ video {
margin-right: 1.5rem;
}
.md\:ml-2 {
margin-left: 0.5rem;
}
.md\:block {
display: block;
}
.md\:inline-block {
display: inline-block;
}
.md\:inline {
display: inline;
}
@@ -2653,10 +2629,6 @@ video {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.md\:grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.md\:flex-row {
flex-direction: row;
}

View File

@@ -7,7 +7,7 @@
@attribute [AllowAnonymous]
<div class="min-h-screen bg-gray-100 dark:bg-gray-900 flex flex-col lg:items-center lg:justify-center">
<div class="absolute top-4 right-4 z-10 mt-16 lg:mt-0">
<div class="absolute top-4 right-4 z-10 mt-16 lg:mt-0 hidden lg:block">
<LanguageSwitcher />
</div>
<div class="w-full mx-auto lg:max-w-xl lg:bg-white lg:dark:bg-gray-800 lg:shadow-xl lg:rounded-lg lg:overflow-hidden flex flex-col">

View File

File diff suppressed because one or more lines are too long