increase metadata size of library header

This commit is contained in:
Kendall Garner 2024-08-26 20:26:37 -07:00
parent 9f4861a78a
commit f746114041
No known key found for this signature in database
GPG key ID: 18D2767419676C87
3 changed files with 13 additions and 20 deletions

View file

@ -120,7 +120,6 @@ export const AlbumDetailHeader = forwardRef(
$link $link
component={Link} component={Link}
fw={600} fw={600}
size="md"
to={generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, { to={generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
albumArtistId: artist.id, albumArtistId: artist.id,
})} })}

View file

@ -79,10 +79,6 @@
@container (min-width: 1200px) { @container (min-width: 1200px) {
grid-template-columns: 250px minmax(0, 1fr); grid-template-columns: 250px minmax(0, 1fr);
h1 {
height: 150px;
}
.image { .image {
width: 250px !important; width: 250px !important;
height: 250px; height: 250px;
@ -93,12 +89,6 @@
height: 250px; height: 250px;
} }
} }
@container (min-width: 1500px) {
h1 {
height: 150px;
}
}
} }
.image-section { .image-section {
@ -113,6 +103,7 @@
.metadata-section { .metadata-section {
z-index: 15; z-index: 15;
font-size: 1.15rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
grid-area: info; grid-area: info;
@ -150,6 +141,7 @@
color: var(--main-fg); color: var(--main-fg);
font-size: 2rem; font-size: 2rem;
line-height: 1.2; line-height: 1.2;
line-clamp: 2;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }

View file

@ -72,15 +72,17 @@ export const LibraryHeader = forwardRef(
</div> </div>
<div className={styles.metadataSection}> <div className={styles.metadataSection}>
<Group> <Group>
<Text <h2>
$link <Text
component={Link} $link
to={item.route} component={Link}
tt="uppercase" to={item.route}
weight={600} tt="uppercase"
> weight={600}
{itemTypeString()} >
</Text> {itemTypeString()}
</Text>
</h2>
</Group> </Group>
<h1 className={styles.title}> <h1 className={styles.title}>
<AutoTextSize mode="box">{title}</AutoTextSize> <AutoTextSize mode="box">{title}</AutoTextSize>