Skip to content

Commit

Permalink
Merge pull request #3654 from DFE-Digital/fix-category-card-issue
Browse files Browse the repository at this point in the history
Fix events card component issue
  • Loading branch information
garethwilliamsdesign authored Oct 27, 2023
2 parents 621a3c1 + 4a0e5e2 commit f469ad5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/teaching_events/about_git_events.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
) %>

<% if @git_events.any? %>
<section class="category__cards">
<section id="events" class="category__cards">
<%= tag.nav(class: "category__nav-cards") do %>
<ul class="one-column horizontal">
<%= render(Categories::CardComponent.with_collection(categorise_events(@git_events))) %>
Expand Down
8 changes: 8 additions & 0 deletions app/webpacker/styles/category.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,11 @@
margin-bottom: 0;
}
}

#events .category__nav-cards {
margin-bottom: 3em;
}

#events .category__nav-card {
background: $white;
}

0 comments on commit f469ad5

Please sign in to comment.