Merge pull request #5669 from deepaksinghgusain227/bliss-delete-button-issue

Fixed alignment of delete button at customer profile page at bliss theme
This commit is contained in:
Devansh 2022-01-21 13:54:48 +05:30 committed by GitHub
commit 7c7fac9fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/shop.js": "/js/shop.js?id=9d5b79be5419c0a5c1bc",
"/css/shop.css": "/css/shop.css?id=115fadd65b812c605be3"
"/css/shop.css": "/css/shop.css?id=1b0e494ce59c3c79869d"
}

View File

@ -3522,6 +3522,26 @@ ol.breadcrumb {
}
}
//Account content inside a table
.account-table-content {
color: $font-dark;
margin-top: 1.4%;
table {
width: 100%;
tbody {
tr {
height: 45px;
td {
width: 250px;
}
}
}
}
}
.account-content {
width: 100%;
display: flex;

View File

@ -58,13 +58,17 @@
<td>{{ $customer->email }}</td>
</tr>
<tr>
<td>
<button type="submit" @click="showModal('deleteProfile')" class="btn btn-lg btn-primary mt-10">
{{ __('shop::app.customer.account.address.index.delete') }}
</button>
</td>
</tr>
{!! view_render_event('bagisto.shop.customers.account.profile.view.table.after', ['customer' => $customer]) !!}
</tbody>
</table>
<button type="submit" @click="showModal('deleteProfile')" class="btn btn-lg btn-primary mt-10">
{{ __('shop::app.customer.account.address.index.delete') }}
</button>
</table>
<form method="POST" action="{{ route('customer.profile.destroy') }}" @submit.prevent="onSubmit">
@csrf