1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

Always use rounded quadrat user avatars (#1350)

To stay consistent with the header.
This commit is contained in:
qwerty287 2022-10-27 16:11:37 +02:00 committed by GitHub
parent e568c42e84
commit 8b7ca464cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@
:title="$t('user.settings')"
class="navbar-icon navbar-clickable !p-1.5"
>
<img v-if="user && user.avatar_url" class="rounded-full" :src="`${user.avatar_url}`" />
<img v-if="user && user.avatar_url" class="rounded-md" :src="`${user.avatar_url}`" />
</NavbarIcon>
<!-- Login Button -->
<Button v-else :text="$t('login')" @click="doLogin" />

View File

@ -20,7 +20,7 @@
<div class="flex py-2 px-4 flex-grow min-w-0 <md:flex-wrap">
<div class="<md:hidden flex items-center flex-shrink-0">
<Icon v-if="pipeline.event === 'cron'" name="stopwatch" class="text-color" />
<img v-else class="w-8" :src="pipeline.author_avatar" />
<img v-else class="rounded-md w-8" :src="pipeline.author_avatar" />
</div>
<div class="w-full md:w-auto md:mx-4 flex items-center min-w-0">

View File

@ -6,7 +6,7 @@
<div class="flex space-x-1 items-center flex-shrink-0">
<div class="flex items-center">
<Icon v-if="pipeline.event === 'cron'" name="stopwatch" />
<img v-else class="w-6" :src="pipeline.author_avatar" />
<img v-else class="rounded-md w-6" :src="pipeline.author_avatar" />
</div>
<span>{{ pipeline.author }}</span>
</div>