mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
links: prevent hostname arrow line breaking in safari
This commit is contained in:
parent
2f8db1fbbc
commit
5c1ef28055
@ -18,7 +18,7 @@ export const LinkPreview = (props) => {
|
||||
const url = props.post.contents[1].url;
|
||||
const hostname = URLparser.exec(url) ? URLparser.exec(url)[4] : null;
|
||||
|
||||
const timeSent =
|
||||
const timeSent =
|
||||
moment.unix(props.post['time-sent'] / 1000).format('hh:mm a');
|
||||
|
||||
const embed = (
|
||||
@ -40,7 +40,7 @@ export const LinkPreview = (props) => {
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
<p className="f8 truncate">{title}</p>
|
||||
<span className="gray2 ml2 f8 dib v-btm flex-shrink-0">
|
||||
<span className="gray2 ml2 f8 dib v-btm flex-shrink-0" style={{ whiteSpace: 'nowrap' }}>
|
||||
{hostname} ↗
|
||||
</span>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user