Skip to content

Commit

Permalink
Merge pull request #75 from qld-gov-au/remove-force-hypoerlink-open-i…
Browse files Browse the repository at this point in the history
…n-new-window

sync main branch
  • Loading branch information
devonpis authored Jul 7, 2022
2 parents 2206707 + 9f931ab commit 300353b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 5 deletions.
25 changes: 25 additions & 0 deletions src/components/PlsPlusAddress/sass/plsPlusAddress.swe.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// copy style from https://github.com/qld-gov-au/qg-web-template src/assets/_project/_blocks/components/forms/_qg-forms.scss #319
.formio-component-plsplusaddress {
display: inline-grid;
//Fallback
display: grid;
div.col-form-label {
order: 0;
}
div.text-muted {
order: 1;
margin-bottom: 0.25rem;
}
div.formio-errors {
order: 2;
margin-bottom: 0.5rem;
}
div[ref="element"],
div.row,
div.form-radio,
div.checkbox,
div.address-nested,
div.address-autocomplete-container {
order: 3;
}
}
4 changes: 2 additions & 2 deletions src/components/Radio/sass/radio.ds.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// design system style
.formio-form {
.formio-component-radio {
// new custom class `radio-tab`
.radio-tab {
&.radio-tab {
.radio.form-check {
border: 3px solid grey;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Radio/sass/radio.swe.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.formio-form {
.formio-component-radio {
// new custom class `radio-tab`
.radio-tab {
&.radio-tab {
.radio.form-check {
border: 1px solid grey;
border-radius: 3px;
Expand Down
2 changes: 1 addition & 1 deletion src/templates/bootstrap/plsPlusAddress/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</div>
{% } %}
{% if (ctx.self.manualModeEnabled && ( ctx.mode.manual || ctx.displayValue)) { %}
<div ref="{{ ctx.nestedKey }}">
<div ref="{{ ctx.nestedKey }}" class="address-nested">
{{ ctx.children }}
</div>
{% } %}
Expand Down

0 comments on commit 300353b

Please sign in to comment.