Skip to content

Commit b51cdfa

Browse files
committed
flexbox restored
1 parent 08c7ddf commit b51cdfa

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

app/styles/partials/overrides.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ body.dimmable.undetached.dimmed {
8787
justify-content: space-between;
8888
}
8989

90+
.justify-content-stretch {
91+
justify-content: stretch;
92+
}
93+
94+
.flex-grow-1 {
95+
flex-grow: 1;
96+
}
97+
9098
.upper-case {
9199
text-transform: uppercase;
92100
}

app/templates/orders/view.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
@data={{this.model.order}} />
3232
<br/>
3333
{{#if (eq this.model.order.user.id this.authManager.currentUser.id)}}
34-
<div class="ui padded grid">
35-
<button class="ui labeled icon left floated seven wide column {{if this.isLoadingTickets 'loading'}} {{if this.device.isMobile 'fluid'}} button"
34+
<div class="d-flex justify-content-stretch">
35+
<button class="ui labeled icon flex-grow-1 {{if this.isLoadingTickets 'loading'}} {{if this.device.isMobile 'fluid'}} button"
3636
{{action this.downloadTickets this.model.event.name this.model.order.identifier}}>
3737
<i class="download icon"></i>
3838
{{t 'All Tickets'}}
3939
</button>
4040
<button {{action 'downloadInvoice' this.model.event.name this.model.order.identifier }}
41-
class="ui labeled icon blue right floated eight wide column {{if this.isLoadingInvoice 'loading'}} {{if this.device.isMobile 'fluid'}} button">
41+
class="ui labeled icon blue flex-grow-1 {{if this.isLoadingInvoice 'loading'}} {{if this.device.isMobile 'fluid'}} button">
4242
<i class="file alternate icon"></i>
4343
{{t 'Download Invoice'}}
4444
</button>

0 commit comments

Comments
 (0)