Skip to content

Commit 06b040a

Browse files
committed
Nicer padding
Signed-off-by: snipe <[email protected]>
1 parent fa546dd commit 06b040a

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

resources/views/account/accept/create.blade.php

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919
padding-right: 10px;
2020
}
2121
22-
#eula_div {
23-
width: 100%;
24-
height: auto;
25-
overflow: auto;
26-
}
27-
2822
.m-signature-pad--body {
2923
border-style: solid;
3024
border-color: grey;
@@ -49,13 +43,13 @@
4943
</h2>
5044
</div>
5145
<div class="box-body">
52-
<div class="col-md-12" style="padding-top: 20px; padding-bottom: 15px;">
5346
@if ($acceptance->checkoutable->getEula())
54-
<div id="eula_div" style="background-color: rgba(211,211,211,0.25); padding: 10px; border: lightgrey 1px solid;">
55-
{!! $acceptance->checkoutable->getEula() !!}
47+
<div class="col-md-12" style="padding-top: 15px; padding-bottom: 15px;">
48+
<div style="background-color: rgba(211,211,211,0.25); padding: 10px; border: lightgrey 1px solid;">
49+
{!! $acceptance->checkoutable->getEula() !!}
50+
</div>
5651
</div>
5752
@endif
58-
</div>
5953
<div class="col-md-12">
6054
<label class="form-control">
6155
<input type="radio" name="asset_acceptance" id="accepted" value="accepted">
@@ -69,7 +63,6 @@
6963
</div>
7064
<div class="col-md-12">
7165
<br>
72-
7366
<label id="note_label" for="note" style="text-align:center;" >{{trans('admin/settings/general.acceptance_note')}}</label>
7467
<br>
7568
<textarea id="note" name="note" rows="4" class="form-control" style="width:100%">{{ old('note') }}</textarea>
@@ -163,15 +156,15 @@ function resizeCanvas() {
163156
164157
$('[name="asset_acceptance"]').on('change', function() {
165158
166-
if ($(this).is(':checked') && $(this).attr('id') == 'declined') {
159+
if ($(this).is(':checked') && $(this).attr('id') === 'declined') {
167160
$("#showEmailBox").hide();
168161
$("#showSubmit").show();
169162
$("#submit-button").removeClass("btn-success").addClass("btn-danger").show();
170163
$("#submitIcon").removeClass("fa-check").addClass("fa-times");
171164
$("#buttonText").text('{{ trans('general.i_decline_item') }}');
172165
$("#note").prop('required', true);
173166
174-
} else if ($(this).is(':checked') && $(this).attr('id') == 'accepted') {
167+
} else if ($(this).is(':checked') && $(this).attr('id') === 'accepted') {
175168
$("#showEmailBox").show();
176169
$("#showSubmit").show();
177170
$("#submit-button").removeClass("btn-danger").addClass("btn-success").show();

0 commit comments

Comments
 (0)