mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 10:40:30 +08:00
Don't underline icon in the ExternalLink component
This commit is contained in:
@@ -11,10 +11,13 @@
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link {
|
||||
box-shadow: 0 1px 0 0 var(--color-foreground-contrast);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
a:hover .link {
|
||||
color: var(--color-fill-secondary);
|
||||
box-shadow: 0 1px 0 0 var(--color-fill-secondary);
|
||||
}
|
||||
@@ -31,6 +34,6 @@
|
||||
</style>
|
||||
|
||||
<a {href} target="_blank" rel="noreferrer">
|
||||
<slot>{href}</slot>
|
||||
<span class="link"><slot>{href}</slot></span>
|
||||
<span class="icon"><IconSmall name="arrow-box-up-right" /></span>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user