Fix scaling of logos

This commit is contained in:
viown
2025-06-11 00:56:54 +03:00
parent c475b43ebd
commit e1c9c8efd8
5 changed files with 15 additions and 8 deletions
@@ -184,7 +184,8 @@ const DeviceCard = ({ device }: IProps) => {
src={nowPlayingName.image}
style={{
maxHeight: '24px',
maxWidth: '130px'
maxWidth: '130px',
alignSelf: 'flex-start'
}}
alt='Media Icon'
/>
@@ -22,7 +22,8 @@ const getItemCountsQuery = (
) => queryOptions({
queryKey: [ 'ItemCounts', params ],
queryFn: ({ signal }) => fetchItemCounts(api!, params, { signal }),
enabled: !!api
enabled: !!api,
refetchOnWindowFocus: false
});
export const useItemCounts = (
@@ -19,7 +19,8 @@ const getSystemStorageQuery = (
) => queryOptions({
queryKey: [ 'SystemStorage' ],
queryFn: ({ signal }) => fetchSystemStorage(api!, { signal }),
enabled: !!api
enabled: !!api,
refetchOnWindowFocus: false
});
export const useSystemStorage = () => {