mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:13:47 +08:00
Add min-width rule to fix header display issues on the Android Gmail app (#13827)
This commit is contained in:
parent
6ac3f1f7b5
commit
bbf47345f8
|
@ -5,7 +5,7 @@
|
|||
</span>
|
||||
|
||||
<%- if I18n.t('user_notifications.digest.custom.html.header').present? %>
|
||||
<table class="digest-header logo-header" dir="<%= rtl? ? 'rtl' : 'ltr' %>" style="width:100%;border-spacing:0;padding:0;">
|
||||
<table class="digest-header logo-header" dir="<%= rtl? ? 'rtl' : 'ltr' %>" style="width:100%;min-width:100%;border-spacing:0;padding:0;">
|
||||
<tr>
|
||||
<td style="padding:0;">
|
||||
<%= raw(t 'user_notifications.digest.custom.html.header') %>
|
||||
|
@ -13,7 +13,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
<%- else %>
|
||||
<table class="digest-header text-header with-dir" style="background-color:#<%= @header_bgcolor -%>;width:100%;">
|
||||
<table class="digest-header text-header with-dir" style="background-color:#<%= @header_bgcolor -%>;width:100%;min-width:100%;">
|
||||
<tr>
|
||||
<td align="center" style="text-align: center;padding: 20px 0; font-family:Arial,sans-serif;">
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
|||
|
||||
|
||||
|
||||
<table class="header-stats with-dir" style="table-layout:fixed;margin:10px 0 20px 0;padding:0;vertical-align:top;width:100%">
|
||||
<table class="header-stats with-dir" style="table-layout:fixed;margin:10px 0 20px 0;padding:0;vertical-align:top;width:100%;min-width:100%;">
|
||||
<tbody>
|
||||
<tr class="header-stat-count">
|
||||
<%- @counts.each do |count| -%>
|
||||
|
|
Loading…
Reference in New Issue
Block a user