Skip to content

Commit

Permalink
MDL-72790 block_timeline: Set content width consistent with other blocks
Browse files Browse the repository at this point in the history
Previously the margins were set with the container class, which meant
the content was narrower than other blocks. This does not need to be
managed by the block since the dashboard will soon manage this with
its own max width.
  • Loading branch information
mickhawkins committed Nov 24, 2021
1 parent 873262b commit c18fe5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/timeline/templates/main.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}}

<div id="block-timeline-{{uniqid}}" class="block-timeline" data-region="timeline">
<div class="container p-0 px-2">
<div class="p-0 px-2">
<div class="row no-gutters">
<div class="mr-2 mb-1">
{{> block_timeline/nav-day-filter }}
Expand All @@ -38,7 +38,7 @@
</div>
<div class="pb-3 px-2 border-bottom"></div>
</div>
<div class="container p-0">
<div class="p-0">
{{> block_timeline/view }}
</div>
</div>
Expand Down

0 comments on commit c18fe5e

Please sign in to comment.