diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index 95d2fd20a..3eeac77bc 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -6,7 +6,7 @@ class="bg-white shadow-lg relative z-10 border border-gray-200 flex overflow-hidden" id="login-container" > -
+
width.value >= FIXED_WIDTH); const containerWidth = computed(() => `${FIXED_WIDTH}px`); const containerHeight = computed(() => `${FIXED_HEIGHT}px`); +const loginGridStyle = computed(() => ({ + gridTemplateColumns: showLogo.value ? 'repeat(2, minmax(0, 1fr))' : 'minmax(0, 1fr)', +})); const loginFormClass = computed(() => { return showLogo.value - ? 'hidden md:flex items-center justify-center p-4' - : 'flex items-center justify-center p-4 w-full'; + ? 'flex items-center justify-center p-4 min-w-0' + : 'flex items-center justify-center p-4 w-full min-w-0'; });