TagSpaces is an offline, open source, document manager with tagging support
chore: added max width for the tag preview
Ilian Sapundshiev8091db3015c6
diff --git a/src/renderer/components/CustomLogo.tsx b/src/renderer/components/CustomLogo.tsxindex 53cafd932..b51873e01 100644--- a/src/renderer/components/CustomLogo.tsx+++ b/src/renderer/components/CustomLogo.tsx@@ -40,12 +40,12 @@ function CustomLogo() {const logo = useMemo(() => {let customLogo = TextLogoIcon;- // if (AppConfig.isWeb) {- // customLogo = WebLogoIcon;- // }if (AppConfig.customLogo) {customLogo = AppConfig.customLogo;}+ // 1x1 px transparent PNG dataulr+ // customLogo =+ // 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+XGqkAAAAASUVORK5CYII=';return customLogo;}, []);diff --git a/src/renderer/components/TagsPreview.tsx b/src/renderer/components/TagsPreview.tsxindex b79fe7fb9..0f6dc0b10 100644--- a/src/renderer/components/TagsPreview.tsx+++ b/src/renderer/components/TagsPreview.tsx@@ -87,6 +87,10 @@ function TagsPreview(props: Props) {display: 'inline-block',verticalAlign: 'middle',minWidth: 15,+ maxWidth: 60,+ whiteSpace: 'nowrap',+ overflow: 'hidden',+ textOverflow: 'ellipsis',height: 15,marginLeft: '4px',marginRight: '4px',