fix: replaced ellipses in title bar with clipping

This commit is contained in:
TresAbhi committed 2023-06-02 00:45:23 +00:00
1 parent aec110723a
commit c5d14758d5
1 file changed
+2 -5
+2 -5
View File
@@ -19,7 +19,7 @@ export default function TitleBar({
style={{ style={{
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
gap: 8, gap: 16,
}} }}
> >
<div style={{ display: 'flex', gap: 8, flex: 1 }}> <div style={{ display: 'flex', gap: 8, flex: 1 }}>
@@ -37,6 +37,7 @@ export default function TitleBar({
style={{ style={{
display: 'flex', display: 'flex',
gap: 4, gap: 4,
overflow: 'hidden',
}} }}
> >
<span <span
@@ -44,8 +45,6 @@ export default function TitleBar({
fontSize: 32, fontSize: 32,
color: theme.colors.textHighContrast, color: theme.colors.textHighContrast,
fontWeight: 900, fontWeight: 900,
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
}} }}
> >
@@ -58,8 +57,6 @@ export default function TitleBar({
fontSize: 32, fontSize: 32,
color: theme.colors.textLowContrast, color: theme.colors.textLowContrast,
fontWeight: 900, fontWeight: 900,
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
}} }}
> >