mirror of
https://github.com/ente-io/ente.git
synced 2025-08-13 17:57:31 +00:00
Multiline titles
This commit is contained in:
@@ -227,7 +227,14 @@ export const AttributedMiniDialog: React.FC<
|
||||
}}
|
||||
>
|
||||
{attributes.title && (
|
||||
<DialogTitle sx={{ "&&&": { padding: 0 } }}>
|
||||
<DialogTitle
|
||||
sx={{
|
||||
"&&&": { padding: 0 },
|
||||
// Wrap the title to the next line if there
|
||||
// isn't sufficient space to make it fit in one.
|
||||
flexShrink: 1,
|
||||
}}
|
||||
>
|
||||
{attributes.title}
|
||||
</DialogTitle>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user