summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-11 13:13:18 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-11 13:13:18 +0300
commitb23f78df7af9653447db0d8b8d8edd21fe2e732d (patch)
treea7e94c93bb6cc040dae357f5e1e0ea89040fe1e1
parent97f12cbd14dbeb429a22b9c705a1ffd1ce74fae6 (diff)
contacts: fix page layout on mobile devices
-rw-r--r--htdocs/scss/app/common.scss3
-rw-r--r--skin/main.skin.php4
2 files changed, 2 insertions, 5 deletions
diff --git a/htdocs/scss/app/common.scss b/htdocs/scss/app/common.scss
index b9c5959..074c1aa 100644
--- a/htdocs/scss/app/common.scss
+++ b/htdocs/scss/app/common.scss
@@ -119,11 +119,8 @@ table.contacts {
border: 0;
border-collapse: collapse;
margin: 8px auto 0;
- //width: 100%;
- //table-layout: fixed;
}
table.contacts td {
- white-space: nowrap;
padding-bottom: 15px;
vertical-align: top;
}
diff --git a/skin/main.skin.php b/skin/main.skin.php
index 40813b9..5236bf0 100644
--- a/skin/main.skin.php
+++ b/skin/main.skin.php
@@ -84,8 +84,8 @@ function contacts($ctx, $email) {
return <<<HTML
<table class="contacts" cellpadding="0" cellspacing="0">
<tr>
- <td class="wide" colspan="2" style="line-height: 170%; padding-bottom: 18px;">
- Feel free to contact me by any of the following means:
+ <td colspan="2" style="line-height: 170%; padding-bottom: 18px;">
+ <div>Feel free to contact me by any of the following means:</div>
</td>
</tr>
<tr>