chore: loading text to loading icon, modify the width for responsive web (#5582)

This commit is contained in:
Jin Yi
2025-09-15 16:59:50 +09:00
committed by GitHub
parent 88130a9cae
commit 992efc4486
6 changed files with 8 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="h-full flex items-center justify-center p-8">
<div class="w-96 text-center">
<div class="lg:w-96 max-w-[100vw] text-center">
<h2 class="text-xl mb-4">
{{ $t('cloudOnboarding.authTimeout.title') }}
</h2>

View File

@@ -1,6 +1,6 @@
<template>
<div class="h-full flex items-center justify-center p-8">
<div class="w-96 p-2">
<div class="lg:w-96 max-w-[100vw] p-2">
<!-- Header -->
<div class="flex flex-col gap-4 mb-8">
<h1 class="text-xl font-medium leading-normal my-0">

View File

@@ -1,6 +1,6 @@
<template>
<div class="h-full flex items-center justify-center p-8">
<div class="w-96 max-w-[100vw] p-2">
<div class="lg:w-96 max-w-[100vw] p-2">
<div class="bg-[#2d2e32] p-4 rounded-lg">
<h4 class="m-0 pb-2 text-lg">
{{ t('cloudPrivateBeta_title') }}

View File

@@ -1,6 +1,6 @@
<template>
<div class="h-full flex items-center justify-center p-8">
<div class="w-96 p-2">
<div class="lg:w-96 max-w-[100vw] p-2">
<!-- Header -->
<div class="flex flex-col gap-4 mb-8">
<h1 class="text-xl font-medium leading-normal my-0">

View File

@@ -3,7 +3,7 @@
<CloudSurveyViewSkeleton v-else-if="skeletonType === 'survey'" />
<CloudWaitlistViewSkeleton v-else-if="skeletonType === 'waitlist'" />
<div v-else-if="error" class="h-full flex items-center justify-center p-8">
<div class="w-96 p-2 text-center">
<div class="lg:w-96 max-w-[100vw] p-2 text-center">
<p class="text-red-500 mb-4">{{ errorMessage }}</p>
<Button
:label="
@@ -18,13 +18,14 @@
</div>
</div>
<div v-else class="flex items-center justify-center min-h-screen">
<div class="animate-pulse text-gray-500">{{ $t('g.loading') }}</div>
<ProgressSpinner class="w-8 h-8" />
</div>
</template>
<script setup lang="ts">
import { useAsyncState } from '@vueuse/core'
import Button from 'primevue/button'
import ProgressSpinner from 'primevue/progressspinner'
import { computed, nextTick, ref } from 'vue'
import { useRouter } from 'vue-router'

View File

@@ -1,6 +1,6 @@
<template>
<div class="h-full flex items-center justify-center p-8">
<div class="w-96 p-2">
<div class="lg:w-96 max-w-[100vw]">
<div class="bg-[#2d2e32] p-4 rounded-lg">
<Skeleton width="60%" height="1.125rem" class="mb-2" />
<Skeleton width="90%" height="1rem" class="mb-2" />