1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Desktop: Fixes #12669: Long URL in note properties breaks the dialog layout (#12669)

This commit is contained in:
SAYAN02-DEV
2025-07-20 21:48:24 +05:30
committed by GitHub
parent cd158e584e
commit 984bb0f3ef

View File

@@ -411,7 +411,14 @@ class NotePropertiesDialog extends React.Component<Props, State> {
const ll = this.latLongFromLocation(value);
url = Note.geoLocationUrlFromLatLong(ll.latitude, ll.longitude);
}
const urlStyle: React.CSSProperties = { ...theme.urlStyle, maxWidth: '180px', overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis' };
const urlStyle: React.CSSProperties = {
...theme.urlStyle,
maxWidth: '180px',
overflow: 'hidden',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
display: 'inline-block',
};
controlComp = (
<a href="#" onClick={() => bridge().openExternal(url)} style={urlStyle}>
{displayedValue}