Skip to content

Commit

Permalink
Remove 'clearfix' to prevent unintended margin's [PUB-275]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-dev-trev committed Oct 8, 2024
1 parent c4c0f7a commit 49f6d2d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions frontend/scss/setup/mixins/_other.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,6 @@ Creates a load spinner.
@return $string;
}

// To fix collapsing margins
.clearfix {
&:before,&:after {
display:table;
content:"";
line-height:0;
}
&:after {
clear:both;
}
}

@mixin tucked-margin-top($font-obj, $distances, $single-bp: false) {
$settings: false;
$line-height: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div class="o-gallery o-gallery--slider{{ (isset($variation)) ? ' '.$variation : '' }}{{ empty($title) ? ' o-gallery----headerless' : '' }}">
<div class="clearfix"></div>
@if (!empty($title))
<h3 id="{{ Str::slug(html_entity_decode($title)) }}" class="o-gallery__title f-module-title-2">{!! $title !!}</h3>
@endif
Expand Down

0 comments on commit 49f6d2d

Please sign in to comment.