]> git.openstreetmap.org Git - rails.git/commitdiff
Center messages table cells vertically
authorAnton Khorev <tony29@yandex.ru>
Fri, 11 Aug 2023 17:58:46 +0000 (20:58 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 11 Aug 2023 17:58:46 +0000 (20:58 +0300)
app/views/messages/inbox.html.erb
app/views/messages/outbox.html.erb

index 7eba93b76e14b0d260991241c8d7d144dcb3241d..54089c34a65ba6cea80c625b0ed7b362b0e7cdcd 100644 (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>
index ad5b4c28f045cc57d60ca19b48065a0a677a789c..e246f9292ebb8afaf0161e306b55fb812176f379 100644 (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>