mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-22 08:27:06 +00:00
Some mobile UI fixes (#2624)
- hide event badges on secret lists - fix margin on admin users
This commit is contained in:
parent
ce85a60e32
commit
45bff3f49f
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
||||||
<IconButton
|
<IconButton
|
||||||
icon="edit"
|
icon="edit"
|
||||||
:title="$t('admin.settings.users.edit_user')"
|
: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 }"
|
:class="{ 'ml-auto': !user.admin, 'ml-2': user.admin }"
|
||||||
@click="editUser(user)"
|
@click="editUser(user)"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
class="items-center !bg-wp-background-200 !dark:bg-wp-background-100"
|
class="items-center !bg-wp-background-200 !dark:bg-wp-background-100"
|
||||||
>
|
>
|
||||||
<span>{{ secret.name }}</span>
|
<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" />
|
<Badge v-for="event in secret.event" :key="event" :label="event" />
|
||||||
</div>
|
</div>
|
||||||
<IconButton
|
<IconButton
|
||||||
icon="edit"
|
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')"
|
:title="$t('repo.settings.secrets.edit')"
|
||||||
@click="editSecret(secret)"
|
@click="editSecret(secret)"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue