1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-09-16 09:26:36 +02:00

Improve wrapping of text in sidebar

This commit is contained in:
Mark McDowall
2025-03-02 12:32:44 -08:00
parent 1c9a0232ad
commit f58dfc5605
3 changed files with 2 additions and 8 deletions

View File

@@ -24,6 +24,7 @@
composes: link;
padding: 10px 24px;
padding-left: 35px;
}
.isActiveLink {
@@ -41,10 +42,6 @@
text-align: center;
}
.noIcon {
margin-left: 25px;
}
.status {
float: right;
}

View File

@@ -8,7 +8,6 @@ interface CssExports {
'isActiveParentLink': string;
'item': string;
'link': string;
'noIcon': string;
'status': string;
}
export const cssExports: CssExports;

View File

@@ -54,9 +54,7 @@ function PageSidebarItem({
</span>
)}
<span className={isChildItem ? styles.noIcon : undefined}>
{typeof title === 'function' ? title() : title}
</span>
{typeof title === 'function' ? title() : title}
{!!StatusComponent && (
<span className={styles.status}>