Skip to content

Commit

Permalink
styling attached text (#4348)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo authored Nov 7, 2023
1 parent 5c90e45 commit a3a33c9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/core/editor3/components/links/LinkDecorator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,15 @@ class LinkComponent extends React.Component<any, any> {

render() {
if (this.link.attachment) {
return <a data-attachment={this.link.attachment} title={this.state.title}>{this.props.children}</a>;
return (
<a
data-attachment={this.link.attachment}
title={this.state.title}
style={{borderBottom: '2px dotted var(--sd-colour-interactive--alpha-80)'}}
>
{this.props.children}
</a>
);
}

return <a href={this.link.href} title={this.link.href}>{this.props.children}</a>;
Expand Down

0 comments on commit a3a33c9

Please sign in to comment.