You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hit marking in grid HTML templates is overridden if we make hyperlinks in grid cells, which is a main use case for this feature. For example, the hit below is a lemma search, which is marked in KWIC, but the links in the grid hide the hit marking:
The desired behavior is for hit marking to override general styling for links, as shown here:
This behavior can be achieved by adding the following CSS to styles.css:
td[class*=v-table-cell-content-match] a {
color: inherit !important;
}
This makes hit cells of any match number inherit color from the td. This change is live on the GU ANNIS and seems to be working well.
@thomaskrause - I'm happy to commit this change to dev if you think it's a good solution, but if you have a cleaner idea please let me know.
The text was updated successfully, but these errors were encountered:
Hit marking in grid HTML templates is overridden if we make hyperlinks in grid cells, which is a main use case for this feature. For example, the hit below is a lemma search, which is marked in KWIC, but the links in the grid hide the hit marking:
The desired behavior is for hit marking to override general styling for links, as shown here:
This behavior can be achieved by adding the following CSS to styles.css:
This makes hit cells of any match number inherit color from the td. This change is live on the GU ANNIS and seems to be working well.
@thomaskrause - I'm happy to commit this change to dev if you think it's a good solution, but if you have a cleaner idea please let me know.
The text was updated successfully, but these errors were encountered: