Skip to content

Commit

Permalink
Some mobile UI fixes (#2624)
Browse files Browse the repository at this point in the history
- hide event badges on secret lists
- fix margin on admin users
  • Loading branch information
qwerty287 authored Oct 23, 2023
1 parent ce85a60 commit 45bff3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/components/admin/settings/AdminUsersTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
/>
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/secrets/SecretList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
/>
Expand Down

0 comments on commit 45bff3f

Please sign in to comment.