Skip to content

fix: Bootstrap column on mobile #287

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

Merged
merged 1 commit into from
Jul 11, 2022
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
4 changes: 2 additions & 2 deletions src/Views/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?= $this->section('main') ?>

<div class="container d-flex justify-content-center p-5">
<div class="card col-5 shadow-sm">
<div class="card col-12 col-md-5 shadow-sm">
<div class="card-body">
<h5 class="card-title mb-5"><?= lang('Auth.login') ?></h5>

Expand Down Expand Up @@ -51,7 +51,7 @@
</div>
<?php endif; ?>

<div class="d-grid col-8 mx-auto m-3">
<div class="d-grid col-12 col-md-8 mx-auto m-3">
<button type="submit" class="btn btn-primary btn-block"><?= lang('Auth.login') ?></button>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/Views/magic_link_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?= $this->section('main') ?>

<div class="container d-flex justify-content-center p-5">
<div class="card col-5 shadow-sm">
<div class="card col-12 col-md-5 shadow-sm">
<div class="card-body">
<h5 class="card-title mb-5"><?= lang('Auth.useMagicLink') ?></h5>

Expand All @@ -22,7 +22,7 @@
value="<?= old('email', auth()->user()->email ?? null) ?>" required />
</div>

<div class="d-grid col-8 mx-auto m-3">
<div class="d-grid col-12 col-md-8 mx-auto m-3">
<button type="submit" class="btn btn-primary btn-block"><?= lang('Auth.send') ?></button>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/Views/magic_link_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?= $this->section('main') ?>

<div class="container d-flex justify-content-center p-5">
<div class="card col-5 shadow-sm">
<div class="card col-12 col-md-5 shadow-sm">
<div class="card-body">
<h5 class="card-title mb-5"><?= lang('Auth.useMagicLink') ?></h5>

Expand Down
4 changes: 2 additions & 2 deletions src/Views/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?= $this->section('main') ?>

<div class="container d-flex justify-content-center p-5">
<div class="card col-5 shadow-sm">
<div class="card col-12 col-md-5 shadow-sm">
<div class="card-body">
<h5 class="card-title mb-5"><?= lang('Auth.register') ?></h5>

Expand Down Expand Up @@ -47,7 +47,7 @@
<input type="password" class="form-control" name="password_confirm" inputmode="text" autocomplete="new-password" placeholder="<?= lang('Auth.passwordConfirm') ?>" required />
</div>

<div class="d-grid col-8 mx-auto m-3">
<div class="d-grid col-12 col-md-8 mx-auto m-3">
<button type="submit" class="btn btn-primary btn-block"><?= lang('Auth.register') ?></button>
</div>

Expand Down