artists fixes

This commit is contained in:
Kendall Garner 2025-04-25 09:30:17 -07:00
parent c376293f2f
commit 68759a2613
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
6 changed files with 15 additions and 7 deletions

View file

@ -46,7 +46,7 @@ const TextWrapper = styled.div`
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
white-space: pre-line;
`;
const ActiveTabIndicator = styled(motion.div)`
@ -90,7 +90,6 @@ const _CollapsedSidebarItem = forwardRef<HTMLDivElement, CollapsedSidebarItemPro
<Text
$secondary={!isMatch}
fw="600"
overflow="hidden"
size="xs"
>
{label}

View file

@ -33,7 +33,11 @@ export const CollapsedSidebar = () => {
const translatedSidebarItemMap = useMemo(
() => ({
Albums: t('page.sidebar.albums', { postProcess: 'titleCase' }),
Artists: t('page.sidebar.artists', { postProcess: 'titleCase' }),
Artists: t('page.sidebar.albumArtists', { postProcess: 'titleCase' }).replace(
' ',
'\n',
),
'Artists-all': t('page.sidebar.artists', { postProcess: 'titleCase' }),
Folders: t('page.sidebar.folders', { postProcess: 'titleCase' }),
Genres: t('page.sidebar.genres', { postProcess: 'titleCase' }),
Home: t('page.sidebar.home', { postProcess: 'titleCase' }),