mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
adjust library header title sizing
This commit is contained in:
@@ -99,15 +99,18 @@
|
||||
.title {
|
||||
display: flex;
|
||||
align-items: center !important;
|
||||
margin: var(--theme-spacing-sm) 0;
|
||||
height: 150px;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
font-size: 2rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
color: var(--theme-colors-foreground);
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
@container (min-width: $mantine-breakpoint-sm) {
|
||||
height: 90px;
|
||||
}
|
||||
}
|
||||
|
||||
.library-header-menu {
|
||||
|
||||
@@ -118,7 +118,7 @@ export const LibraryHeader = forwardRef(
|
||||
{itemTypeString()}
|
||||
</Text>
|
||||
<h1 className={styles.title}>
|
||||
<AutoTextSize maxFontSizePx={80} minFontSizePx={32} mode="box">
|
||||
<AutoTextSize maxFontSizePx={72} mode="box">
|
||||
{title}
|
||||
</AutoTextSize>
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user