Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove extra div from headers #153

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading