fix: fixing avatar widths
This commit is contained in:
parent
a6dc77feff
commit
3e3e76773c
@ -14,3 +14,7 @@
|
||||
border-color: darken($body-bg-light, 10%);
|
||||
}
|
||||
}
|
||||
img.avatar_img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
class="avatar" data-bs-toggle="tooltip"
|
||||
data-bs-placement="top"
|
||||
title="{{ $thisArtwork->artist->name }}">
|
||||
<img src="{{ $thisArtwork->artist->avatar() }}"
|
||||
<img class="avatar_img" src="{{ $thisArtwork->artist->avatar() }}"
|
||||
alt="{{ $thisArtwork->artist->name }}"></a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -54,7 +54,7 @@
|
||||
<span><i class="ri-user-add-line"></i>Join In</span></a>
|
||||
</li>
|
||||
@else
|
||||
<li class="avatar-info"> <a href="#"><img
|
||||
<li class="avatar-info"> <a href="#"><img class="avatar_img"
|
||||
@if (Auth::user() && Auth::user()->artists->first() && Auth::user()->artists->first()->avatar)
|
||||
src="{{ Auth::user()->artists->first()->avatar() }}"
|
||||
@else
|
||||
|
@ -60,7 +60,7 @@
|
||||
class="avatar" data-bs-toggle="tooltip"
|
||||
data-bs-placement="top"
|
||||
title="{{ $episode->artwork->artist->name }}">
|
||||
<img src="{{ $episode->artwork->artist->avatar() }}"
|
||||
<img class="avatar_img" src="{{ $episode->artwork->artist->avatar() }}"
|
||||
alt="{{ $episode->artwork->artist->name }}"></a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<img src="{{ Vite::asset($artist->header ?? 'resources/img/artist-dark-banner-default.png') }}" alt="{{ $artist->name }}'s Cover Photo" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<a href="/artist/{{ $artist->slug }}"><img class="author-thumb" src="{{ $artist->avatar() }}"
|
||||
<a href="/artist/{{ $artist->slug }}"><img class="author-thumb avatar_img" src="{{ $artist->avatar() }}"
|
||||
alt="{{ $artist->name }}" /></a>
|
||||
<h4 class="title"><a href="/artists/{{ $artist->slug }}">{{ $artist->name }}</a></h4>
|
||||
<p class="title">{{ $artist->location ?? 'No Agenda Nation' }}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user