From 64e22660ce43ce244efb0cbf48236051a14381f0 Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Fri, 5 Jul 2024 16:37:01 -0700 Subject: [PATCH] Update Hyrax and remove some overrides This commit will update Hyrax to include some fixes to the UI that we overrode in Hyku. Now that the changes have been merged to Hyrax we can go ahead and remove the overrides after updating to the latest revision. --- Gemfile.lock | 2 +- app/assets/stylesheets/hyku.scss | 16 ---------------- app/assets/stylesheets/hyrax.scss | 6 ------ 3 files changed, 1 insertion(+), 23 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c8a440360d..5f49e88353 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -61,7 +61,7 @@ GIT GIT remote: https://github.com/samvera/hyrax.git - revision: d4e646c7613febd2195f3835d3b801c6aa7b601d + revision: b98d6f4f57b3d60cabc1c192e12053a11f93eb8c branch: main specs: hyrax (5.0.1) diff --git a/app/assets/stylesheets/hyku.scss b/app/assets/stylesheets/hyku.scss index e9ca3ee0b7..7d86ca0c7f 100644 --- a/app/assets/stylesheets/hyku.scss +++ b/app/assets/stylesheets/hyku.scss @@ -520,16 +520,6 @@ body.public-facing { margin-top: 20px; } -.navbar-toggler-icon { - background: no-repeat center center; - background-size: 100% 100%; - content: ""; - display: inline-block; - height: 1.5em; - vertical-align: middle; - width: 1.5em; -} - // remove a button that appears on the facets menu in the catalog search results // clicking this button seemingly does nothing .catalog-index .facets-header > button { @@ -549,12 +539,6 @@ span.constraint-value p, .facet-values p { justify-content: space-between; } -span.constraint-value p, .facet-values p { - display: flex; - margin-bottom: 0; - justify-content: space-between; -} - // button to remove a filter should be red instead of white .remove.dropdown-toggle .fa.fa-remove { color: #c4302b; diff --git a/app/assets/stylesheets/hyrax.scss b/app/assets/stylesheets/hyrax.scss index 6476501eab..4154627666 100644 --- a/app/assets/stylesheets/hyrax.scss +++ b/app/assets/stylesheets/hyrax.scss @@ -25,9 +25,3 @@ background: #ffff00; font-weight: 700; } - -// break long links in catalog search results -.catalog-index .caption-area .document-metadata a, -.catalog-index .search-result-wrapper p a { - word-break: break-all; -}