contacts: fix page layout on mobile devices

This commit is contained in:
Evgeny Zinoviev 2022-07-11 13:13:18 +03:00
parent 97f12cbd14
commit b23f78df7a
2 changed files with 2 additions and 5 deletions

View File

@ -119,11 +119,8 @@ table.contacts {
border: 0; border: 0;
border-collapse: collapse; border-collapse: collapse;
margin: 8px auto 0; margin: 8px auto 0;
//width: 100%;
//table-layout: fixed;
} }
table.contacts td { table.contacts td {
white-space: nowrap;
padding-bottom: 15px; padding-bottom: 15px;
vertical-align: top; vertical-align: top;
} }

View File

@ -84,8 +84,8 @@ function contacts($ctx, $email) {
return <<<HTML return <<<HTML
<table class="contacts" cellpadding="0" cellspacing="0"> <table class="contacts" cellpadding="0" cellspacing="0">
<tr> <tr>
<td class="wide" colspan="2" style="line-height: 170%; padding-bottom: 18px;"> <td colspan="2" style="line-height: 170%; padding-bottom: 18px;">
Feel free to contact me by any of the following means: <div>Feel free to contact me by any of the following means:</div>
</td> </td>
</tr> </tr>
<tr> <tr>