Skip to content

Commit

Permalink
Chore: Equal column widths in About modal
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Jul 7, 2024
1 parent 13a4183 commit 406fe56
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions server/ui-src/components/AboutMailpit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,20 @@ export default {
<div class="row g-3">
<div class="col-xl-6">
<div class="row g-3" v-if="mailbox.appInfo.LatestVersion == ''">
<div class="alert alert-warning mb-3">
There might be a newer version available. The check failed.
<div class="col">
<div class="alert alert-warning mb-3">
There might be a newer version available. The check failed.
</div>
</div>
</div>
<div class="row g-3"
v-else-if="mailbox.appInfo.Version != mailbox.appInfo.LatestVersion">
<a class="btn btn-warning d-block mb-3"
:href="'https://github.com/axllent/mailpit/releases/tag/' + mailbox.appInfo.LatestVersion">
A new version of Mailpit ({{ mailbox.appInfo.LatestVersion }}) is available.
</a>
<div class="col">
<a class="btn btn-warning d-block mb-3"
:href="'https://github.com/axllent/mailpit/releases/tag/' + mailbox.appInfo.LatestVersion">
A new version of Mailpit ({{ mailbox.appInfo.LatestVersion }}) is available.
</a>
</div>
</div>
<div class="row g-3">
<div class="col-12">
Expand Down

0 comments on commit 406fe56

Please sign in to comment.