Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use flexbox for search result document styling; part of #2781 #2812

Merged
merged 1 commit into from
Sep 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions app/assets/stylesheets/blacklight/_search_results.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// the search results on the index view of the catalog
.documents-list {
.document {
@extend .clearfix;
display: flex;
border-bottom: 1px dotted $table-border-color;
margin-top: $spacer;
padding-top: $spacer;
Expand All @@ -10,6 +10,10 @@
@extend h5;
}

.document-main-section {
flex-grow: 1;
}

// bookmarks checkbox on index, give it some
// lower margin when it collapses
.index-document-functions {
Expand All @@ -21,7 +25,7 @@
}

.document-thumbnail {
float: right;
flex-grow: 0;
margin-bottom: ($spacer * 3);
padding-left: ($spacer * 3);
}
Expand Down