mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
fixed title, font changed
This commit is contained in:
@@ -108,12 +108,12 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
|
||||
|
||||
if (title !== name) {
|
||||
newNameStringArr.push(removeRedundantCharacters(title))
|
||||
} else if (torrentParsedName?.title) newNameStringArr.push(torrentParsedName?.title)
|
||||
} else if (torrentParsedName?.title) newNameStringArr.push(removeRedundantCharacters(torrentParsedName?.title))
|
||||
|
||||
// These 2 checks are needed to get year and resolution from torrent name if title does not have this info
|
||||
if (torrentParsedName?.year && !title.includes(torrentParsedName?.year))
|
||||
if (torrentParsedName?.year && !newNameStringArr[0].includes(torrentParsedName?.year))
|
||||
newNameStringArr.push(torrentParsedName?.year)
|
||||
if (torrentParsedName?.resolution && !title.includes(torrentParsedName?.resolution))
|
||||
if (torrentParsedName?.resolution && !newNameStringArr[0].includes(torrentParsedName?.resolution))
|
||||
newNameStringArr.push(torrentParsedName?.resolution)
|
||||
|
||||
const newNameString = newNameStringArr.join('. ')
|
||||
|
||||
@@ -113,7 +113,7 @@ export const SectionTitle = styled.div`
|
||||
${({ mb }) => css`
|
||||
${mb && `margin-bottom: ${mb}px`};
|
||||
font-size: 35px;
|
||||
font-weight: 200;
|
||||
font-weight: 300;
|
||||
line-height: 1;
|
||||
word-break: break-word;
|
||||
|
||||
@@ -187,7 +187,7 @@ export const WidgetFieldTitle = styled.div`
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
margin-bottom: 2px;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
`
|
||||
|
||||
export const WidgetFieldIcon = styled.div`
|
||||
|
||||
Reference in New Issue
Block a user