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

Merge pull request #3749 from appwrite/fix-permission-ui

Permission Table - Fix trim bug on <th> elements on Chrome/Firefox be…
This commit is contained in:
Matej Bačo 2022-09-02 12:22:29 +02:00 committed by GitHub
commit a847a37a83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}