viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Tweak to resiz media-list columns so works in firefox again

Chris Pollett [2024-07-14 18:Jul:th]
Tweak to resiz media-list columns so works in firefox again
Filename
src/views/elements/WikiElement.php
diff --git a/src/views/elements/WikiElement.php b/src/views/elements/WikiElement.php
index f6542bd48..905ae30d4 100644
--- a/src/views/elements/WikiElement.php
+++ b/src/views/elements/WikiElement.php
@@ -1100,15 +1100,16 @@ class WikiElement extends Element implements CrawlConstants
                 if (empty($read_mode) && $data['MODE'] != 'source' &&
                     $data['CURRENT_LAYOUT'] == 'list') {
                     ?><tr><th colspan="2"></th>
-                        <th class="resizable"  style='width:2.6in;'><a href='<?=
+                        <th style='width:2.6in;'>
+                        <div class='resizable' ><a href='<?=
                         $sub_path_folder_prefix?>&amp;default_sort=name'><?=
                         tl('wiki_element_name')
-                    ?></a></th><?php
+                    ?></a></div></th><?php
                     if (!$_SERVER["MOBILE"]) {
-                        e("<th class='resizable'
+                        e("<th><div class='resizable'
                             ><a href='$sub_path_folder_prefix&amp;".
                             "default_sort=size'>" . tl('wiki_element_size').
-                            '</a>');
+                            '</a></div>');
                         e("</th><th ><a href='".
                             "$sub_path_folder_prefix&amp;".
                             "default_sort=modified'>" .
ViewGit