Adjust title style
This commit is contained in:
parent
d7d611c6d1
commit
088f1d0f99
1 changed files with 3 additions and 12 deletions
|
@ -143,22 +143,13 @@ export const LibraryHeader = forwardRef(
|
||||||
</Group>
|
</Group>
|
||||||
<TextTitle
|
<TextTitle
|
||||||
fw="900"
|
fw="900"
|
||||||
lh="1"
|
lh="1.15"
|
||||||
mb="0.12em"
|
lineClamp={2}
|
||||||
mt=".08em"
|
mt=".08em"
|
||||||
sx={{ fontSize: titleSize }}
|
sx={{ fontSize: titleSize, overflow: 'hidden' }}
|
||||||
>
|
>
|
||||||
{title}
|
{title}
|
||||||
</TextTitle>
|
</TextTitle>
|
||||||
<Group
|
|
||||||
spacing="xs"
|
|
||||||
sx={{
|
|
||||||
WebkitBoxOrient: 'vertical',
|
|
||||||
WebkitLineClamp: 2,
|
|
||||||
display: '-webkit-box',
|
|
||||||
overflow: 'hidden',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
{children}
|
{children}
|
||||||
</MetadataWrapper>
|
</MetadataWrapper>
|
||||||
</HeaderContainer>
|
</HeaderContainer>
|
||||||
|
|
Reference in a new issue