Skip to content

Commit

Permalink
Task #CR-1045: increased size of input for "shortfreetext with map" o…
Browse files Browse the repository at this point in the history
…n mobile
  • Loading branch information
ptelu committed Jun 15, 2023
1 parent e1d7885 commit 2a5ea3a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,15 @@
<input
id="searchbox_{{ name }}"
placeholder="{{ gT("Search (3 characters minimum)") }}"
class="form-control"
class="form-control ls-geoloc-search"
type="text"
/>

<div class="input-group-text checkbox">
<label for="restrictToExtent_{{ name }}">
<input
type="checkbox"
id="restrictToExtent_{{ name }}"
/>
{{ gT("Restrict search to map extent") }}
</label>
<label for="restrictToExtent_{{ name }}">
<input type="checkbox" id="restrictToExtent_{{ name }}"/>
{{ gT("Restrict search to map extent") }}
</label>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ $base-color: #ffffff;
@import "questiontypes/bootstrap_select/bootstrap_select_colors.scss";
@import "questiontypes/array/array_colors.scss";
@import "questiontypes/5pointchoice/5pointchoice.scss";
@import "questiontypes/shortfreetext/shortfreetext.scss";
@import "forms/checkboxes/checkboxes.scss";
@import "forms/checkboxes/checkboxes_colors.scss";
@import "datetimepicker/datetimepicker.scss";
Expand Down
3 changes: 0 additions & 3 deletions assets/survey_themes/ls6_surveytheme/old_fruity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@
margin-right : 5px;
}

.geoname_search {
margin-bottom : 10px;
}

/* Give help text some space */
.questionhelp {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.geoloc-item {
.geoname_search {
margin-bottom : 10px;
}
.ls-geoloc-search {
min-width : 150px
}
}

0 comments on commit 2a5ea3a

Please sign in to comment.