Permission Table - Fix trim bug on <th> elements on Chrome/Firefox beoswers
This commit is contained in:
parent
c5c3b2ecf0
commit
78daf314bd
4 changed files with 11 additions and 5 deletions
|
@ -46,12 +46,12 @@ $escapedPermissions = \array_map(function ($perm) {
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
:value="rawPermissions"/>
|
: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>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Role</th>
|
<th>Role</th>
|
||||||
<?php foreach ($permissions as $permission): ?>
|
<?php foreach ($permissions as $permission): ?>
|
||||||
<th><?php echo \ucfirst($permission); ?></th>
|
<th class="u-no-trim"><?php echo \ucfirst($permission); ?></th>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
2
public/dist/styles/default-ltr.css
vendored
2
public/dist/styles/default-ltr.css
vendored
File diff suppressed because one or more lines are too long
2
public/dist/styles/default-rtl.css
vendored
2
public/dist/styles/default-rtl.css
vendored
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||||
|
}
|
Loading…
Reference in a new issue