Some mobile UI fixes (#2624)

- hide event badges on secret lists
- fix margin on admin users
This commit is contained in:
qwerty287 2023-10-23 09:36:46 +02:00 committed by GitHub
parent ce85a60e32
commit 45bff3f49f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@
<IconButton
icon="edit"
:title="$t('admin.settings.users.edit_user')"
class="w-8 h-8"
class="w-8 h-8 <md:ml-auto"
:class="{ 'ml-auto': !user.admin, 'ml-2': user.admin }"
@click="editUser(user)"
/>

View file

@ -6,12 +6,12 @@
class="items-center !bg-wp-background-200 !dark:bg-wp-background-100"
>
<span>{{ secret.name }}</span>
<div class="ml-auto space-x-2">
<div class="ml-auto space-x-2 <md:hidden">
<Badge v-for="event in secret.event" :key="event" :label="event" />
</div>
<IconButton
icon="edit"
class="ml-2 w-8 h-8"
class="ml-2 <md:ml-auto w-8 h-8"
:title="$t('repo.settings.secrets.edit')"
@click="editSecret(secret)"
/>