Мой HTML будет отправлен по электронной почте через службу электронной почты. так что он будет читаться / отображаться в Gmail, Yahoo Mail, Outlook и т. д.
Вот почему я не могу использовать inline-flex.
(Я пытался делать классы, используя максимальную ширину, но они игнорируются).
Это то, что у меня есть в моем файле, который я включаю, где это необходимо:
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="container" bgcolor="#ffffff" align="center">
<tr>
<td align="left" style="width: 180px;min-width: 50%;max-width: 100%">
<div align="center" style="font-family: 'Lato', sans-serif; font-size: 14px; border-radius: 6px; color: #ffffff;line-height:15px;background-color: #24b646;width: 180px;padding: 0px 10px 0px 10px;margin: 30px 0 30px 60px; height: 45px;" class="mobileWidth100 mobilePadding0">
<a width="auto" href="{{extra.manage_team}}" target="_blank" alias="" style="font-family: 'Lato', sans-serif; text-decoration: none; color: #ffffff;font-weight:bold; letter-spacing:1px;height: 45px;line-height: 15px;vertical-align: middle;display:table-cell;">{% trans 'Manage Team'%}</a>
</div>
</td>
<td align="left" style="width: 180px;min-width: 50%;max-width: 100%">
<div align="center" style="font-family: 'Lato', sans-serif; font-size: 14px; border-radius: 6px; color: #ffffff; border: 1px solid #24b646; line-height:15px;background-color: #ffffff;width: 180px;padding: 0px 10px 0px 10px;height: 45px;">
<a width="auto" href="{{extra.billing_overview}}" target="_blank" alias="" style="font-family: 'Lato', sans-serif; text-decoration: none; color: #24b646; font-weight:bold; letter-spacing:1px;height: 45px;line-height: 15px;vertical-align: middle;display:table-cell;">{% trans 'Billing Overview'%}</a>
</div>
</td>
</tr>
</table>
Вот так это выглядит на рабочем столе, что отчасти нормально (мне нужно будет перенести первую кнопку слева):

И вот как это выглядит на мобильном телефоне, как вы можете видеть, явно сломано:

Все, что я хочу, это иметь 1 объект один рядом с другим, а затем на мобильном телефоне, второй, чтобы спуститься, и оба иметь одинаковую ширину с родителями