From 2aa6833f02c6c8859428f3c0830baf9403d6eadd Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Fri, 5 Jul 2024 16:13:38 -0700 Subject: [PATCH 1/2] Fix facet count styling This commit will align the facet count to the end of the flex row. --- app/assets/stylesheets/hyku.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/hyku.scss b/app/assets/stylesheets/hyku.scss index 17cb3b144..8f39949c4 100644 --- a/app/assets/stylesheets/hyku.scss +++ b/app/assets/stylesheets/hyku.scss @@ -538,7 +538,8 @@ body.public-facing { // make sure constraints are on only one line, even with markdown span.constraint-value p, .facet-values p { - display: inline-block; + display: flex; + justify-content: space-between; margin-bottom: 0; } From 408563ebed4e6af66a071230fc355abacfa82f68 Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Fri, 5 Jul 2024 16:37:01 -0700 Subject: [PATCH 2/2] 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 | 10 ---------- app/assets/stylesheets/hyrax.scss | 6 ------ 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c8a440360..5f49e8835 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 8f39949c4..7d86ca0c7 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 { diff --git a/app/assets/stylesheets/hyrax.scss b/app/assets/stylesheets/hyrax.scss index 6476501ea..415462766 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; -}