1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Permission Table - Fix trim bug on <th> elements on Chrome/Firefox beoswers

This commit is contained in:
Elad Shechter 2022-09-02 17:05:04 +07:00
parent c5c3b2ecf0
commit 78daf314bd
4 changed files with 11 additions and 5 deletions

View file

@ -46,12 +46,12 @@ $escapedPermissions = \array_map(function ($perm) {
<?php endif; ?>
:value="rawPermissions"/>
<table data-ls-attrs="x-init=load({{<?php if (!empty($data)) echo $data . '.$permissions' ?>}})">
<table class="u-table-layout-normal" data-ls-attrs="x-init=load({{<?php if (!empty($data)) echo $data . '.$permissions' ?>}})">
<thead>
<tr>
<th>Role</th>
<?php foreach ($permissions as $permission): ?>
<th><?php echo \ucfirst($permission); ?></th>
<th class="u-no-trim"><?php echo \ucfirst($permission); ?></th>
<?php endforeach; ?>
<th></th>
</tr>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1,7 @@
.u-margin-inline-end-16{margin-inline-end:16px!important;}
.u-table-layout-normal {
table-layout:revert!important;
}
.u-margin-inline-end-16 {
margin-inline-end:16px!important;
}