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

fix: grant details create submission button alignment #1219

Merged
merged 2 commits into from
Sep 28, 2023
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
18 changes: 9 additions & 9 deletions app/templates/grants/detail.hbs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<div id="grant-details-title" class="row mt-3 mb-3">
<div class="col-6 pt-1">
<LinkTo @route="grants" class="btn btn-small back-arrow" aria-label="Go back to the previous page">
<div id="grant-details-title" class="d-flex justify-content-between row my-3 mx-auto">
<div class="d-flex align-items-center">
<LinkTo @route="grants" class="btn btn-small back-arrow mr-1" aria-label="Go back to the previous page">
<i class="fa fa-arrow-left fa-lg"></i>
</LinkTo>
<h2 class="font-weight-light d-inline-block">
<h1 class="font-weight-light pt-1">
Grant Details
</h2>
</h1>
</div>
<div class="col-6">
{{#if this.currentUser.user.isSubmitter}}
{{#if this.currentUser.user.isSubmitter}}
<div>
<LinkTo @route="submissions.new" @query={{hash grant=this.grant.id}} class="btn btn-primary btn-small pull-right">
Create new submission
</LinkTo>
{{/if}}
</div>
</div>
{{/if}}
</div>
<div id="grant-details-body" class="grant-details">
<div class="row">
Expand Down