mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
Merge pull request #2668 from urbit/mp/link/dib-ing
link: line up link info on same line height
This commit is contained in:
commit
8d32d49daf
@ -129,18 +129,14 @@ export class LinkPreview extends Component {
|
||||
<span className="gray2 ml2 f8 dib v-btm flex-shrink-0">{hostname} ↗</span>
|
||||
</a>
|
||||
<div className="w-100 pt1">
|
||||
<span className={"f9 pr2 white-d v-mid " + nameClass}
|
||||
<span className={"f9 pr2 white-d dib " + nameClass}
|
||||
title={props.ship}>
|
||||
{props.nickname ? props.nickname : cite(props.ship)}
|
||||
</span>
|
||||
<span className="f9 inter gray2 pr3 v-mid">
|
||||
<span className="f9 inter gray2 pr3 dib">
|
||||
{this.state.timeSinceLinkPost}
|
||||
</span>
|
||||
<Link
|
||||
to={makeRoutePath(props.resourcePath, props.popout, props.page, props.url, props.linkIndex)}
|
||||
className="v-top">
|
||||
<span className="f9 inter gray2">{props.comments}</span>
|
||||
</Link>
|
||||
<span className="f9 inter gray2 dib">{props.comments}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -79,22 +79,21 @@ export class LinkItem extends Component {
|
||||
<span className="gray2 dib v-btm ml2 f8 flex-shrink-0">{hostname} ↗</span>
|
||||
</a>
|
||||
<div className="w-100 pt1">
|
||||
<span className={"f9 pr2 v-mid " + mono}
|
||||
<span className={"f9 pr2 dib " + mono}
|
||||
title={props.ship}>
|
||||
{(props.nickname)
|
||||
? props.nickname
|
||||
: cite(props.ship)}
|
||||
</span>
|
||||
<span
|
||||
className={seenState + " f9 inter pr3 v-mid"}
|
||||
className={seenState + " f9 inter pr3 dib"}
|
||||
onClick={this.markPostAsSeen}>
|
||||
{this.state.timeSinceLinkPost}
|
||||
</span>
|
||||
<Link to=
|
||||
{makeRoutePath(props.resourcePath, props.popout, props.page, props.url, props.linkIndex)}
|
||||
className="v-top"
|
||||
onClick={this.markPostAsSeen}>
|
||||
<span className="f9 inter gray2">
|
||||
<span className="f9 inter gray2 dib">
|
||||
{comments}
|
||||
</span>
|
||||
</Link>
|
||||
|
Loading…
Reference in New Issue
Block a user