Skip to content

Commit

Permalink
Revert grid layout offsets in CWP event holder templates
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Apr 1, 2019
1 parent 49bbbdf commit 5b14680
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions templates/CWP/CWP/PageTypes/Layout/EventHolder.ss
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-10 offset-lg-1">
<div class="page-header">
$Breadcrumbs
<h1>$Title</h1>
</div>
</div>
<div class="col-lg-8 mb-4">
<% if $Content.RichLinks %>
$Content.RichLinks
<% else %>
Expand All @@ -15,7 +13,7 @@
<% include NewsFilterContext %>
</div>

<section class="listing <% if $AvailableMonths || not $FilteredUpdates %>col-lg-8<% else %>col-lg-12<% end_if %>">
<section class="listing <% if $AvailableMonths || not $FilteredUpdates %>col-lg-7<% else %>col-lg-10<% end_if %> offset-lg-1">
<% if $FilteredUpdates %>
<% include FilteredUpdates ControllerName=$ClassName %>
<% else %>
Expand All @@ -25,7 +23,7 @@
<% end_if %>
</section>

<aside class="col-lg-3 offset-lg-1 sidebar">
<aside class="col-lg-3 sidebar">
<h2 class="sr-only"><%t CWP\\CWP\\PageTypes\\EventHolder.FILTERS "Filters" %></h2>
<% if $UpdateTagsWithLinks %>
<% include UpdateTags %>
Expand Down

0 comments on commit 5b14680

Please sign in to comment.