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:
parent
e568c42e84
commit
8b7ca464cf
@ -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" />
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user