You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
This commit is contained in:
@@ -411,7 +411,14 @@ class NotePropertiesDialog extends React.Component<Props, State> {
|
|||||||
const ll = this.latLongFromLocation(value);
|
const ll = this.latLongFromLocation(value);
|
||||||
url = Note.geoLocationUrlFromLatLong(ll.latitude, ll.longitude);
|
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 = (
|
controlComp = (
|
||||||
<a href="#" onClick={() => bridge().openExternal(url)} style={urlStyle}>
|
<a href="#" onClick={() => bridge().openExternal(url)} style={urlStyle}>
|
||||||
{displayedValue}
|
{displayedValue}
|
||||||
|
Reference in New Issue
Block a user