Skip to content

Commit 95d739e

Browse files
authored
fix: Download Tickets -> All Tickets (#5856)
1 parent a8f6ec6 commit 95d739e

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

app/styles/partials/overrides.scss

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

90+
.flex-1 {
91+
flex: 1;
92+
}
93+
9094
.upper-case {
9195
text-transform: uppercase;
9296
}

app/templates/orders/view.hbs

Lines changed: 5 additions & 5 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="d-flex space-between">
35-
<button class="ui labeled icon {{if this.isLoadingTickets 'loading'}} {{if this.device.isMobile 'fluid'}} button"
34+
<div class="d-flex">
35+
<button class="ui labeled icon flex-1 {{if this.isLoadingTickets 'loading'}} {{if this.device.isMobile 'fluid'}} button"
3636
{{action this.downloadTickets this.model.event.name this.model.order.identifier}}>
37-
<i class="ticket alternate icon"></i>
38-
{{t 'Download Tickets'}}
37+
<i class="download icon"></i>
38+
{{t 'All Tickets'}}
3939
</button>
4040
<button {{action 'downloadInvoice' this.model.event.name this.model.order.identifier }}
41-
class="ui labeled icon blue {{if this.isLoadingInvoice 'loading'}} {{if this.device.isMobile 'fluid'}} button">
41+
class="ui labeled icon blue flex-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)