mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-24 06:17:08 -04:00
Improve wrapping of text in sidebar
This commit is contained in:
parent
1c9a0232ad
commit
f58dfc5605
3 changed files with 2 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@ interface CssExports {
|
|||
'isActiveParentLink': string;
|
||||
'item': string;
|
||||
'link': string;
|
||||
'noIcon': string;
|
||||
'status': string;
|
||||
}
|
||||
export const cssExports: CssExports;
|
||||
|
|
|
@ -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}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue