]> BookStack Code Mirror - bookstack/commitdiff
Set fixed cell widths for users list table
authorDan Brown <redacted>
Wed, 19 Oct 2022 10:15:17 +0000 (11:15 +0100)
committerDan Brown <redacted>
Wed, 19 Oct 2022 10:15:17 +0000 (11:15 +0100)
To prevent certain cells squashing others.
Related to #3787.

resources/views/users/index.blade.php

index 953a12900a075022d801263b2e0afebaf2334368..03eae2c005a660e3e61edd6d1d236a7b5723df8b 100644 (file)
 
             <table class="table">
                 <tr>
-                    <th></th>
-                    <th>
+                    <th width="9%"></th>
+                    <th width="36%">
                         <a href="{{ sortUrl('/settings/users', $listDetails, ['sort' => 'name']) }}">{{ trans('auth.name') }}</a>
                         /
                         <a href="{{ sortUrl('/settings/users', $listDetails, ['sort' => 'email']) }}">{{ trans('auth.email') }}</a>
                     </th>
-                    <th>{{ trans('settings.role_user_roles') }}</th>
-                    <th class="text-right">
+                    <th width="35%">{{ trans('settings.role_user_roles') }}</th>
+                    <th class="text-right" width="20%">
                         <a href="{{ sortUrl('/settings/users', $listDetails, ['sort' => 'last_activity_at']) }}">{{ trans('settings.users_latest_activity') }}</a>
                     </th>
                 </tr>