[GIT] Evergreen ILS branch main updated. d945ab98027598b638b842df2ef9d01410c0a821

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, main has been updated via d945ab98027598b638b842df2ef9d01410c0a821 (commit) from 730513fbf0f8516a3a4dfaf704ee0e8d0a5bcc19 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d945ab98027598b638b842df2ef9d01410c0a821 Author: Stephanie Leary <stephanie.leary@equinoxoli.org> Date: Wed Apr 2 22:56:42 2025 +0000 LP2106057 Do not show open_in_new icon on images The CSS that automatically appends the open_in_new icon to links that open in new tabs should disregard links that contain <img> tags, to avoid infelicities like the icon appearing on the next line below a record's cover image. Also adds a small inline margin to the icon to separate it from link text a bit. Removes component-specific styles that are now redundant. Release-note: Do not show open_in_new icon on links containing images Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> diff --git a/Open-ILS/src/eg2/src/app/staff/share/holdings/tag-map-list.component.css b/Open-ILS/src/eg2/src/app/staff/share/holdings/tag-map-list.component.css index 8a0370d680..7d2aa10fe6 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holdings/tag-map-list.component.css +++ b/Open-ILS/src/eg2/src/app/staff/share/holdings/tag-map-list.component.css @@ -9,13 +9,6 @@ transition: opacity 0.5s ease-in-out; } -.tagmap-actions .edit-link:after { - display: inline; - content: "\e89e"; /* opens in new window icon */ - font-family: "Material Icons"; - line-height: inherit; -} - ::ng-deep .eg-grid-row:not(:has(:hover, :focus, :focus-visible)) .tagmap-actions { opacity: 0 !important; } diff --git a/Open-ILS/src/eg2/src/styles.css b/Open-ILS/src/eg2/src/styles.css index 29fd521ffe..7f04caf7e1 100644 --- a/Open-ILS/src/eg2/src/styles.css +++ b/Open-ILS/src/eg2/src/styles.css @@ -123,11 +123,12 @@ a:not(.alert-link):is(:hover, :focus, :focus-visible), filter: brightness(1.1); } -a[target="_blank"]:after { +a[target="_blank"]:not(:has(img)):after { display: inline; - content: "\e89e"; + content: "open_in_new"; font-family: "Material Icons"; line-height: inherit; + margin-inline-start: 0.25rem; } /** BS has flex utility classes, but none for specifying flex widths. ----------------------------------------------------------------------- Summary of changes: .../eg2/src/app/staff/share/holdings/tag-map-list.component.css | 7 ------- Open-ILS/src/eg2/src/styles.css | 5 +++-- 2 files changed, 3 insertions(+), 9 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User