mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Permission Table - Fix trim bug on <th> elements on Chrome/Firefox beoswers
This commit is contained in:
@@ -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>
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
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;
|
||||
}
|
||||
Reference in New Issue
Block a user