Moved the discount table to be full length. Added typography helpers to align text

This commit is contained in:
Etienne Marais 2019-02-13 11:02:22 +02:00
parent 68fe2ca882
commit 068c3b1ffa
No known key found for this signature in database
GPG Key ID: 5CE3285D17AE9F29
4 changed files with 18 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -171,4 +171,16 @@ h6 > small {
.fsize80 { font-size: 80px; }
.fsize96 { font-size: 96px; }
.fsize112 { font-size: 112px; }
.fsize128 { font-size: 128px; }
.fsize128 { font-size: 128px; }
/* Alignments
-------------------------------*/
.has-text-left {
text-align: left;
}
.has-text-center {
text-align: center;
}
.has-text-right {
text-align: right;
}

View File

@ -49,14 +49,14 @@
</div>
<div class="row"><div class="col-md-12">&nbsp;</div></div>
<div class="row">
<div class="col-md-6">
<div class="col-md-12">
@if($event->access_codes->count())
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>@lang("DiscountCodes.discount_codes_code")</th>
<th>@lang("DiscountCodes.discount_codes_created_at")</th>
<th class="has-text-right">@lang("DiscountCodes.discount_codes_created_at")</th>
</tr>
</thead>
@ -64,7 +64,7 @@
@foreach($event->access_codes as $access_code)
<tr>
<td><strong>{{ $access_code->code }}</strong></td>
<td>{{ $access_code->created_at }}</td>
<td class="has-text-right">{{ $access_code->created_at }}</td>
</tr>
@endforeach
</tbody>