💄 Very small UI changes

This commit is contained in:
ajnart
2022-08-10 14:13:20 +02:00
parent 2e8dff346e
commit 3d63226372
2 changed files with 14 additions and 12 deletions

View File

@@ -211,26 +211,28 @@ export function MediaDisplay({ media }: { media: IMedia }) {
</Button>
)}
{media.imdbId && (
<ActionIcon
<Button
component="a"
target="_blank"
href={`https://www.imdb.com/title/${media.imdbId}`}
variant="outline"
size="lg"
size="sm"
rightIcon={<IconExternalLink size={15} />}
>
<IconExternalLink />
</ActionIcon>
IMDb
</Button>
)}
{media.overseerrId && (
<ActionIcon
<Button
component="a"
target="_blank"
href={media.overseerrId}
variant="outline"
size="lg"
size="sm"
rightIcon={<IconExternalLink size={15} />}
>
<IconExternalLink />
</ActionIcon>
TMDb
</Button>
)}
{media.type === 'overseer' && !media.overseerrResult?.mediaInfo?.mediaAddedAt && (
<>

View File

@@ -13,10 +13,6 @@ export const DashdotModule = asModule({
icon: CalendarIcon,
component: DashdotComponent,
options: {
url: {
name: 'Dash. URL',
value: '',
},
cpuMultiView: {
name: 'CPU Multi-Core View',
value: false,
@@ -34,6 +30,10 @@ export const DashdotModule = asModule({
value: ['CPU', 'RAM', 'Storage', 'Network'],
options: ['CPU', 'RAM', 'Storage', 'Network', 'GPU'],
},
url: {
name: 'Dash. URL',
value: '',
},
},
});