Skip to content

Commit

Permalink
Merge pull request #50 from sherlockode/feature/global_style_fixes
Browse files Browse the repository at this point in the history
Global style improvements
  • Loading branch information
Vowow authored Feb 27, 2023
2 parents 3d09512 + f059a64 commit 7f1bdfb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
14 changes: 11 additions & 3 deletions src/Resources/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@media only screen and (max-width : 1024px) {
.pickup-points-search {
flex-direction: column;
align-items: flex-start;
}

.smr_wrapper .pickup-points-search-results {
Expand Down Expand Up @@ -63,6 +64,12 @@
justify-content: space-between;
}

@media only screen and (max-width : 1024px) {
.dimmer #modal-mondial-relay .header {
padding-right: 1rem !important;
}
}

.dimmer #modal-mondial-relay .close-modal {
width: 20px;
height: 20px;
Expand Down Expand Up @@ -141,10 +148,11 @@
right: 0;
top: 45px;
z-index: 2;
box-shadow: rgba(149, 157, 165, 0.5) 0 8px 24px;
}

#modal-mondial-relay .pickup-points-search-form .search-pickup-point-autocomplete ul li {
padding: 4px 8px;
padding: 8px 16px;
cursor: pointer;
}

Expand Down Expand Up @@ -354,8 +362,8 @@
min-height: 300px;
}

#modal-mondial-relay .pickup-points-search-form .search-pickup-point-form {
width: auto;
#modal-mondial-relay .pickup-points-search-form .pickup-points-input {
height: auto;
}

#modal-mondial-relay .pickup-points-search-form .search-pickup-point-form > div {
Expand Down
15 changes: 8 additions & 7 deletions src/Resources/public/js/mondial-relay-fancy-list-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,15 @@ class MondialRelayFancyListAdapter
}

this.setPagination();
$('#modal-mondial-relay').modal('refresh');

$('#modal-mondial-relay .accordion').accordion({
selector: {
title: '.pickup-point-card',
trigger: '.pickup-point-card',
content: '.point-business-hours'
}
});
$('#modal-mondial-relay .accordion').accordion({
selector: {
title: '.pickup-point-card',
trigger: '.pickup-point-card',
content: '.point-business-hours'
}
});
}

setPagination() {
Expand Down

0 comments on commit 7f1bdfb

Please sign in to comment.