better artist banner heights
This commit is contained in:
@@ -253,10 +253,8 @@ pub fn artist_page(props: &Props) -> Html {
|
||||
|
||||
html! {
|
||||
<div>
|
||||
if let Some(ref banner) = d.artist_banner {
|
||||
<div class="artist-banner" style={format!("background-image: url('{banner}')")}>
|
||||
</div>
|
||||
}
|
||||
<div class={if d.artist_banner.is_some() { "artist-banner-wrap" } else { "" }}
|
||||
style={d.artist_banner.as_ref().map(|b| format!("background-image: url('{b}')")).unwrap_or_default()}>
|
||||
<div class="page-header">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex gap-2 items-center">
|
||||
@@ -329,6 +327,7 @@ pub fn artist_page(props: &Props) -> Html {
|
||||
<p class="text-sm text-muted loading">{ "Loading track counts..." }</p>
|
||||
}
|
||||
</div>
|
||||
</div> // close artist-banner-wrap
|
||||
|
||||
if let Some(ref msg) = *message {
|
||||
<div class="card" style="border-color: var(--success);">
|
||||
|
||||
Reference in New Issue
Block a user