Update "search all" source header styling

- reduce height
- reduce source name font size
- use source "name" instead of "display name"
 display name only adds language, which is shown in the second line of the header
- add button to indicate that the search can be opened on the source itself
This commit is contained in:
schroda
2025-05-21 02:27:56 +02:00
parent f6b4ed8f56
commit fe30c8e281
2 changed files with 25 additions and 8 deletions

View File

@@ -64,6 +64,7 @@ export type EditTextPreferenceProps = PreferenceProps &
export type SourceIdInfo = Pick<SourceType, 'id'>;
export type SourceLanguageInfo = Pick<SourceType, 'lang'>;
export type SourceNameInfo = Pick<SourceType, 'name'>;
export type SourceDisplayNameInfo = Pick<SourceType, 'displayName'>;
export type SourceNsfwInfo = Pick<SourceType, 'isNsfw'>;
export type SourceRepoInfo = { extension: Pick<ExtensionType, 'repo'> };