Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: alert size on login screen mobile #142

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/account/activation/AccountActivate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const { t } = useI18n();
<div
class="container py-16 lg:pt-[200px] lg:pb-32 flex flex-col items-center justify-center"
>
<div class="w-[380px]">
<div class="w-[380px] max-w-full">
<div v-if="validating" class="flex justify-center">
<RuiProgress variant="indeterminate" circular color="primary" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/account/activation/PendingActivation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { t } = useI18n();
<div
class="container h-full flex flex-col pt-10 md:pt-0 md:flex-1 md:items-center md:justify-center"
>
<div class="max-w-[30.6rem] space-y-3">
<div class="max-w-[30.6rem] max-w-full space-y-3">
<div class="text-h4">{{ t('auth.pending_activation.title') }}</div>
<div class="text-body-1 text-rui-text-secondary">
{{ t('auth.pending_activation.message') }}
Expand Down
8 changes: 6 additions & 2 deletions components/account/login/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const { t } = useI18n();
</script>

<template>
<div class="w-[360px] space-y-8">
<div class="w-[360px] max-w-full space-y-8">
<div class="space-y-3">
<div class="text-h4">{{ t('auth.login.title') }}</div>
<div class="text-body-1 text-rui-text-secondary">
Expand Down Expand Up @@ -128,7 +128,11 @@ const { t } = useI18n();
</ButtonLink>
</div>
</div>
<div v-if="hadError" :class="modal ? 'w-[360px] mt-8' : 'w-[660px] mt-14'">
<div
v-if="hadError"
class="max-w-full"
:class="modal ? 'w-[360px] mt-8' : 'w-[660px] mt-14'"
>
<RuiAlert type="error" :description="t('auth.login.alert_error')" />
</div>
</template>
2 changes: 1 addition & 1 deletion components/account/password/PasswordChanged.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { t } = useI18n();
<div
class="container py-16 lg:pt-[250px] lg:pb-32 flex flex-col items-center justify-center"
>
<div class="w-[360px] space-y-8">
<div class="w-[360px] max-w-full space-y-8">
<div class="space-y-3">
<div class="text-h4">{{ t('auth.password_changed.title') }}</div>
<div class="text-body-1 text-rui-text-secondary">
Expand Down
2 changes: 1 addition & 1 deletion components/account/password/PasswordForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const { t } = useI18n();
<div
class="container py-16 lg:pt-[200px] lg:pb-32 flex flex-col items-center justify-center"
>
<div class="w-[360px] space-y-8">
<div class="w-[360px] max-w-full space-y-8">
<div class="text-h4">{{ t('auth.recover_password.title') }}</div>

<form class="space-y-6" @submit.prevent="">
Expand Down
2 changes: 1 addition & 1 deletion components/account/password/PasswordLinkSend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { t } = useI18n();
<div
class="container py-16 lg:pt-[250px] lg:pb-32 flex flex-col items-center justify-center"
>
<div class="w-[360px] space-y-3">
<div class="w-[360px] max-w-full space-y-3">
<div class="text-h4">{{ t('auth.password_link_send.title') }}</div>
<div class="text-body-1 text-rui-text-secondary">
{{ t('auth.password_link_send.message') }}
Expand Down
2 changes: 1 addition & 1 deletion components/account/password/PasswordReset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const { t } = useI18n();
<div
class="container py-16 lg:pt-[200px] lg:pb-32 flex flex-col items-center justify-center"
>
<div class="w-[360px]">
<div class="w-[360px] max-w-full">
<div v-if="validating" class="flex justify-center">
<RuiProgress variant="indeterminate" circular color="primary" />
</div>
Expand Down
5 changes: 4 additions & 1 deletion components/account/signup/SignupForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ const setErrors = (errors: ValidationErrors) => {
class="container flex flex-col lg:flex-row pt-4 pb-8 lg:py-14 h-full grow"
>
<div class="flex justify-center grow">
<form class="w-[440px] flex flex-col justify-between" @submit.prevent="">
<form
class="w-[440px] max-w-full flex flex-col justify-between"
@submit.prevent=""
>
<SignupIntroduction v-if="step === 1" @next="next()" />
<SignupAccount
v-if="step === 2"
Expand Down