Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: ui glitch in file ext component

Ilian Sapundshiev83dc3a7f5c6b
diff --git a/src/renderer/components/FileExtBadge.tsx b/src/renderer/components/FileExtBadge.tsx
index 7812b839d..075b151c1 100644
--- a/src/renderer/components/FileExtBadge.tsx
+++ b/src/renderer/components/FileExtBadge.tsx
@@ -23,6 +23,8 @@ import { styled } from '@mui/material/styles';
const FileExtBadge = styled(Typography)(({ theme }) => ({
fontSize: '12px',
minWidth: 40,
+ width: 'fit-content',
+ maxWidth: '100px',
color: 'white',
borderRadius: AppConfig.defaultCSSRadius,
textAlign: 'center',