Skip to content

Commit

Permalink
chore: Remove extra div from headers (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSenter authored Sep 24, 2024
1 parent 1d84786 commit d6ec0cd
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions packages/ember-core/src/components/header.gts
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,26 @@ interface HeaderSignature {
}

const HeaderComponent: TOC<HeaderSignature> = <template>
<div class="container-fluid gx-0">
<div
class="row row-cols-12 p-1 align-items-center justify-content-evenly"
...attributes
>
<div class="col d-flex justify-content-start">
{{yield to="left"}}
</div>
<div class="col d-flex justify-content-center flex-row flex-no-wrap">
{{yield to="center"}}
</div>
<div class="col d-flex justify-content-end">
{{yield to="right"}}
</div>
{{#if (has-block "mobile-drop-section")}}
<div class="d-flex col-12 d-md-none order-last justify-content-center">
<div class="d-flex flex-row text-nowrap">
{{yield to="mobile-drop-section"}}
</div>
</div>
{{/if}}
<div
class="row row-cols-12 p-1 align-items-center justify-content-evenly"
...attributes
>
<div class="col d-flex justify-content-start">
{{yield to="left"}}
</div>
<div class="col d-flex justify-content-center flex-row flex-no-wrap">
{{yield to="center"}}
</div>
<div class="col d-flex justify-content-end">
{{yield to="right"}}
</div>
{{#if (has-block "mobile-drop-section")}}
<div class="d-flex col-12 d-md-none order-last justify-content-center">
<div class="d-flex flex-row text-nowrap">
{{yield to="mobile-drop-section"}}
</div>
</div>
{{/if}}
</div>
</template>;

Expand Down

0 comments on commit d6ec0cd

Please sign in to comment.