From f3d923056091bf3655fb634003c0456ad6f35a94 Mon Sep 17 00:00:00 2001 From: Cory Lown Date: Mon, 2 Dec 2024 16:23:54 -0500 Subject: [PATCH] Adjust metadata display on browse list view --- app/assets/stylesheets/base.scss | 1 + app/assets/stylesheets/modules/browse.scss | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 app/assets/stylesheets/modules/browse.scss diff --git a/app/assets/stylesheets/base.scss b/app/assets/stylesheets/base.scss index 8699b9550..a357f6006 100644 --- a/app/assets/stylesheets/base.scss +++ b/app/assets/stylesheets/base.scss @@ -21,3 +21,4 @@ @import "modules/caret"; @import "modules/search_across"; @import "modules/exhibit_search_typeahead"; +@import "modules/browse"; diff --git a/app/assets/stylesheets/modules/browse.scss b/app/assets/stylesheets/modules/browse.scss new file mode 100644 index 000000000..5c2c962c4 --- /dev/null +++ b/app/assets/stylesheets/modules/browse.scss @@ -0,0 +1,10 @@ +// The browse page does not have a sidebar, so some additional +// column adjustments are needed to make the metadata look okay. +.blacklight-browse-show .documents-list .document-metadata { + dt { + @extend .col-xl-2; + } + dd { + @extend .col-xl-10; + } +}