fix: align saved location removal buttons
This commit is contained in:
parent
d3a990270b
commit
f5feffb4c0
@ -892,7 +892,7 @@ export default function CalendarEventModal({
|
||||
onMouseLeave={e => (e.currentTarget.style.background = 'transparent')}
|
||||
>
|
||||
<MapPin size={11} style={{ opacity: 0.4, flexShrink: 0 }} />
|
||||
<span style={{ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>{suggestion.label}</span>
|
||||
<span style={{ flex: 1, minWidth: 0, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>{suggestion.label}</span>
|
||||
{suggestion.source === 'openstreetmap' && (
|
||||
<span style={{ marginLeft: 'auto', fontSize: '0.65rem', opacity: 0.5, whiteSpace: 'nowrap' }}>OpenStreetMap</span>
|
||||
)}
|
||||
@ -904,6 +904,7 @@ export default function CalendarEventModal({
|
||||
title={language === 'de' ? 'Vorschlag entfernen' : 'Remove suggestion'}
|
||||
onMouseDown={e => { e.preventDefault(); e.stopPropagation(); dismissLocationSuggestion(suggestion); }}
|
||||
style={{
|
||||
marginLeft: 'auto', flexShrink: 0,
|
||||
border: 'none', background: 'transparent', color: 'var(--weekly-text-light)',
|
||||
cursor: 'pointer', padding: '0 2px', fontSize: '0.9rem', lineHeight: 1,
|
||||
}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user