summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2021-09-24 18:17:35 +0200
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2021-09-24 18:17:35 +0200
commit5d8646a63998a7af21c88520baa13429cf1dce7a (patch)
treefa8ba6a62690f3e2fd42ad3c88149fd1609a6d46 /includes
parentcb064c158d99082ce35c83f7025dc4d6d0195e1f (diff)
downloadgigologadmin-5d8646a63998a7af21c88520baa13429cf1dce7a.tar.gz
gigologadmin-5d8646a63998a7af21c88520baa13429cf1dce7a.tar.bz2
gigologadmin-5d8646a63998a7af21c88520baa13429cf1dce7a.zip
Added a div to make table scrollable on mobiles
Diffstat (limited to 'includes')
-rw-r--r--includes/admin/views/_concerts_table.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php
index b61a990..a7d9074 100644
--- a/includes/admin/views/_concerts_table.php
+++ b/includes/admin/views/_concerts_table.php
@@ -31,7 +31,7 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
private function render_concerts_table() : string
{
- $content = '<table class="assignit">';
+ $content = '<div style="overflow-x:auto;"><table class="assignit">';
// $content .= '</tr><th>CITY</th><th>ID</th><th>BAND</th><th>VENUE</th><th>DATE</th></tr>';
$content .= '<tr class="assignithrow"><th>CITY</th><th>DATE</th><th>NAME</th><th>VENUE</th>';
@@ -113,7 +113,7 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
$content .= '</tr>';
$lastType = $concert->venue()->city();
}
- $content .= '</table>';
+ $content .= '</table></div>';
// return the table
return $content;