1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove unused variable and fix no results alignment

This commit is contained in:
Bill Thornton 2024-02-18 01:11:42 -05:00
parent eaab0364d7
commit ac29b9b338
3 changed files with 5 additions and 15 deletions

View file

@ -340,7 +340,9 @@ const SearchResults: FC<SearchResultsProps> = ({ serverId = window.ApiClient.ser
/>
{allEmpty && debouncedQuery && !isLoading && (
<div className='sorry-text'>{globalize.translate('SearchResultsEmpty', debouncedQuery)}</div>
<div className='noItemsMessage centerMessage'>
{globalize.translate('SearchResultsEmpty', debouncedQuery)}
</div>
)}
</>
)}

View file

@ -9,14 +9,3 @@
font-size: 2em;
align-self: flex-end;
}
.sorry-text {
font-size: 2em;
text-align: center;
font-family: inherit;
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}