Skip to content

Tweak home spacing and code style#17

Merged
ssciolla merged 8 commits into
ARC-135-repositories-viewfrom
ARC-135-repositories-view-tweak-home
Jun 16, 2026
Merged

Tweak home spacing and code style#17
ssciolla merged 8 commits into
ARC-135-repositories-viewfrom
ARC-135-repositories-view-tweak-home

Conversation

@ssciolla

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the home page layout/spacing and introduces a small stylesheet tweak for card headings, while also adjusting the main Blacklight layout container class.

Changes:

  • Swaps the Blacklight base layout <main> container class to viewport-container.
  • Refactors homepage markup for improved indentation and spacing utilities.
  • Adds card.scss and imports it into the Bootstrap application stylesheet.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
app/views/layouts/blacklight/base.html.erb Changes the main layout container class applied to <main>.
app/views/catalog/_home.html.erb Adjusts homepage structure/spacing and simplifies icon markup.
app/assets/stylesheets/card.scss Adds new styles targeting .card-title.
app/assets/stylesheets/application.bootstrap.scss Imports the new card stylesheet.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<%= render partial: 'shared/header_navbar' %>

<main id="main-container" class="<%= container_classes %>" role="main" aria-label="<%= t('blacklight.main.aria.main_container') %>">
<main id="main-container" class="viewport-container" role="main" aria-label="<%= t('blacklight.main.aria.main_container') %>">
Comment thread app/assets/stylesheets/card.scss Outdated
Comment on lines +1 to +7
.card-title {
margin-bottom: 0.75rem;
}

.card-title > a {
font-size: 1.25rem;
} No newline at end of file
Comment thread app/views/catalog/_home.html.erb Outdated
Comment on lines 55 to 59
<div id="homepage-text-blocks" class="row mt-4 mb-5 d-flex flex-wrap">
<div class="mb-2">
<div class="card-title d-flex align-items-center">
<div class="card-icon"><span class="material-icons">
info
</span></div>
<div class="card-icon"><span class="material-icons">info</span></div>
<h2><%= t('um_arclight.home.about.heading') %></h2>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We addressed this here: 7f2a307

Comment thread app/views/catalog/_home.html.erb Outdated
@ssciolla ssciolla merged commit ee2cf9c into ARC-135-repositories-view Jun 16, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants