Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LWS-195: Make text in search card selectable #1058

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
{item.typeStr}
</span>
{#each item[LensType.WebCardFooter]?._display as obj}
{' • '}
<span>{' • '}</span>
{#if 'hasInstance' in obj}
{@const instances = getInstanceData(obj.hasInstance)}
{#if instances?.years}
Expand Down Expand Up @@ -192,8 +192,9 @@
}

:global(a):not(.card-link),
:global(.definition) {
position: relative; /* needed for supporting mouse events on links and definitions above card-link */
.card-body :global(span:first-of-type),
.card-footer :global(> span) {
position: relative; /* needed for supporting mouse events on text, links and definitions above card-link */
}

.card-image {
Expand Down