Center messages table cells vertically

This commit is contained in:
Anton Khorev 2023-08-11 20:58:46 +03:00
parent 8f946f1360
commit 8645ec503d
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@
<h4><%= render :partial => "message_count" %></h4>
<% if current_user.messages.size > 0 %>
<table class="table table-sm">
<table class="table table-sm align-middle">
<thead>
<tr>
<th><%= t ".from" %></th>

View file

@ -20,7 +20,7 @@
<h4><%= t ".messages", :count => current_user.sent_messages.size %></h4>
<% if current_user.sent_messages.size > 0 %>
<table class="table table-sm">
<table class="table table-sm align-middle">
<thead>
<tr>
<th><%= t ".to" %></th>