Skip to content

Commit 54ca3db

Browse files
committed
Fix container alignment
1 parent e66629d commit 54ca3db

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

javascript/addressfinder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/* create widget */
2424
widget = new AddressFinder.Widget(field, key, "NZ", {
25-
container: $(elem).find('.form__field-holder').get(0)
25+
container: $(elem).find('.addressfinder__holder').get(0)
2626
});
2727

2828
/* updates manual fields and hidden metadata */

templates/Includes/AddressFinderField_holder.ss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<div id="$Name" class="address_finder_address form-group field text<% if $extraClass %> $extraClass<% end_if %>" style="display: none;">
33
<% if $Title %><label class="form__field-label" for="$ID">$Title</label><% end_if %>
44

5-
<div class="form__field-holder" style="position: relative">
6-
$AddressField
7-
5+
<div class="form__field-holder">
6+
<div class="addressfinder__holder" style="position: relative">
7+
$AddressField
8+
</div>
89

910
<% if $Message %><span class="message $MessageType">$Message</span><% end_if %>
1011
<% if $Description %><p class="form__field-description">$Description</p><% end_if %>

0 commit comments

Comments
 (0)