OmniboxResult: truncate long titles
Fixes urbit/landscape#545
@@ -102,6 +102,12 @@ export class OmniboxResult extends Component {
<Text
mono={(icon == 'profile' && text.startsWith('~'))}
color={this.state.hovered || selected === link ? 'white' : 'black'}
+ display='inline-block'
+ verticalAlign='middle'
+ width='100%'
+ overflow='hidden'
+ textOverflow='ellipsis'
+ whiteSpace='pre'
mr='1'
>
{text.startsWith("~") ? cite(text) : text}
