Skip to content

Commit

Permalink
Merge pull request #136 from Invertus/opc-input-layout
Browse files Browse the repository at this point in the history
css changes to change input order
  • Loading branch information
justelis22 authored Jul 5, 2024
2 parents a5c4bcc + 4903690 commit 14def08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions views/css/front/onepagecheckout.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

.chosen-container {
width: 100% !important;
max-width: 290px;
}

.carrier-extra-content .chosen-select {
Expand All @@ -60,4 +61,9 @@

.dpd-checkout-delivery-time--container {
width: 100%;
}

.search-block-container {
padding-left: 15px;
padding-right: 15px;
}
6 changes: 3 additions & 3 deletions views/templates/hook/front/partials/pudo-search-block.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

<div class="search-block-container">
{if count($city_list) > 1}
<div class="col-xl-6 col-lg-6 col-sm-12 dpd-city-block dpd-select-wrapper dpd-input-wrapper">
<div class="{if !($isOpcCheckout)}col-xl-6 col-lg-6 col-sm-12 {/if}dpd-city-block dpd-select-wrapper dpd-input-wrapper">
<select name="dpd-city" class="form-control-chosen chosen-select">
{else}
<div class="col-xl-0 col-lg-0 col-sm-12 dpd-city-block dpd-select-wrapper">
<div class="{if !($isOpcCheckout)}col-xl-0 col-lg-0 col-sm-12 {/if}dpd-city-block dpd-select-wrapper">
<select name="dpd-city" style="display: none">
{/if}
{if !empty($city_list)}
Expand All @@ -40,7 +40,7 @@
</div>
</div>

<div class="col-xl-6 col-lg-6 col-sm-12 dpd-city-block dpd-input-wrapper js-pudo-search-street">
<div class="{if !($isOpcCheckout)}col-xl-6 col-lg-6 col-sm-12 {/if}dpd-city-block dpd-input-wrapper js-pudo-search-street">
{include file='module:dpdbaltics/views/templates/hook/front/partials/pudo-search-street.tpl'}
</div>
</div>

0 comments on commit 14def08

Please sign in to comment.