mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-05-12 05:08:53 +00:00
set w-9 h-9 consistently
This commit is contained in:
parent
6eb4c83517
commit
cffb562f9a
8 changed files with 13 additions and 13 deletions
|
@ -4,7 +4,7 @@
|
|||
>
|
||||
<div class="flex items-center space-x-2">
|
||||
<router-link :to="{ name: 'home' }" class="flex flex-col -my-2 px-2">
|
||||
<WoodpeckerLogo class="w-8 h-8" />
|
||||
<WoodpeckerLogo class="w-9 h-9" />
|
||||
<span class="text-xs" :title="version?.current">{{ version?.currentShort }}</span>
|
||||
</router-link>
|
||||
<router-link v-if="user" :to="{ name: 'repos' }" class="navbar-clickable navbar-link">
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<IconButton
|
||||
v-if="!registry.readonly"
|
||||
icon="trash"
|
||||
class="w-8 h-8 hover:text-wp-control-error-100"
|
||||
class="w-9 h-9 hover:text-wp-control-error-100"
|
||||
:is-loading="isDeleting"
|
||||
:title="$t('registries.delete')"
|
||||
@click="deleteRegistry(registry)"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
'bg-wp-state-info-100': pipelineStatusColors[pipeline.status] === 'blue',
|
||||
}"
|
||||
/>
|
||||
<div class="flex flex-wrap justify-between items-center w-8 h-full">
|
||||
<div class="flex flex-wrap justify-between items-center w-9 h-full">
|
||||
<PipelineRunningIcon v-if="pipeline.status === 'started' || pipeline.status === 'running'" />
|
||||
<PipelineStatusIcon v-else class="mx-2 md:mx-3" :status="pipeline.status" />
|
||||
</div>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<IconButton
|
||||
icon="settings-outline"
|
||||
:title="$t('admin.settings.orgs.org_settings')"
|
||||
class="w-8 h-8"
|
||||
class="w-9 h-9"
|
||||
:to="{ name: 'org-settings', params: { orgId: org.id } }"
|
||||
/>
|
||||
<IconButton
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
<IconButton
|
||||
icon="chevron-right"
|
||||
:title="$t('admin.settings.repos.view')"
|
||||
class="w-8 h-8"
|
||||
class="w-9 h-9"
|
||||
:to="{ name: 'repo', params: { repoId: repo.id } }"
|
||||
/>
|
||||
<IconButton
|
||||
icon="settings-outline"
|
||||
:title="$t('admin.settings.repos.settings')"
|
||||
class="w-8 h-8"
|
||||
class="w-9 h-9"
|
||||
:to="{ name: 'repo-settings', params: { repoId: repo.id } }"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
<span>{{ user.login }}</span>
|
||||
<Badge
|
||||
v-if="user.admin"
|
||||
class="ml-auto hidden md:inline-block"
|
||||
class="md:inline-block hidden ml-auto"
|
||||
:label="$t('admin.settings.users.admin.admin')"
|
||||
/>
|
||||
<IconButton
|
||||
icon="edit"
|
||||
:title="$t('admin.settings.users.edit_user')"
|
||||
class="w-8 h-8 <md:ml-auto"
|
||||
class="w-9 h-9 <md:ml-auto"
|
||||
:class="{ 'ml-auto': !user.admin, 'ml-2': user.admin }"
|
||||
@click="editUser(user)"
|
||||
/>
|
||||
|
@ -53,7 +53,7 @@
|
|||
|
||||
<InputField v-slot="{ id }" :label="$t('admin.settings.users.avatar_url')">
|
||||
<div class="flex gap-2">
|
||||
<img v-if="selectedUser.avatar_url" class="rounded-md h-8 w-8" :src="selectedUser.avatar_url" />
|
||||
<img v-if="selectedUser.avatar_url" class="rounded-md w-8 h-8" :src="selectedUser.avatar_url" />
|
||||
<TextField :id="id" v-model="selectedUser.avatar_url" />
|
||||
</div>
|
||||
</InputField>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<a v-if="badgeUrl" :href="badgeUrl" target="_blank">
|
||||
<img class="w-28" :src="badgeUrl" />
|
||||
</a>
|
||||
<IconButton :href="repo.forge_url" :title="$t('repo.open_in_forge')" :icon="forgeIcon" class="w-8 h-8 forge" />
|
||||
<IconButton :href="repo.forge_url" :title="$t('repo.open_in_forge')" :icon="forgeIcon" class="w-9 h-9 forge" />
|
||||
<IconButton
|
||||
v-if="repoPermissions.admin"
|
||||
:to="{ name: 'repo-settings' }"
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
<span v-else class="col-span-2 <md:hidden">{{ $t('repo.settings.crons.not_executed_yet') }}</span>
|
||||
</span>
|
||||
<IconButton icon="play" class="ml-auto w-9 h-9" :title="$t('repo.settings.crons.run')" @click="runCron(cron)" />
|
||||
<IconButton icon="edit" class="w-8 h-8" :title="$t('repo.settings.crons.edit')" @click="selectedCron = cron" />
|
||||
<IconButton icon="edit" class="w-9 h-9" :title="$t('repo.settings.crons.edit')" @click="selectedCron = cron" />
|
||||
<IconButton
|
||||
icon="trash"
|
||||
class="w-8 h-8 hover:text-wp-control-error-100"
|
||||
class="w-9 h-9 hover:text-wp-control-error-100"
|
||||
:is-loading="isDeleting"
|
||||
:title="$t('repo.settings.crons.delete')"
|
||||
@click="deleteCron(cron)"
|
||||
|
@ -74,7 +74,7 @@
|
|||
/>
|
||||
</InputField>
|
||||
|
||||
<div v-if="isEditingCron" class="ml-auto mb-4">
|
||||
<div v-if="isEditingCron" class="mb-4 ml-auto">
|
||||
<span v-if="selectedCron.next_exec && selectedCron.next_exec > 0" class="text-wp-text-100">
|
||||
<!-- eslint-disable-next-line @intlify/vue-i18n/no-raw-text -->
|
||||
{{ $t('repo.settings.crons.next_exec') }}:
|
||||
|
|
Loading…
Reference in a new issue