Merge pull request #823 from Safelite/CSR-906-fix-text-alignment
Move text align to label from input.
This commit is contained in:
commit
4fb223698b
2 changed files with 1 additions and 2 deletions
|
|
@ -61,7 +61,6 @@ export default {
|
|||
},
|
||||
},
|
||||
mounted() {
|
||||
console.log("#1", document);
|
||||
const modal = document.querySelector("#" + this.cmsWidgetName);
|
||||
modal.addEventListener("hidden.bs.modal", (event) => {
|
||||
this.$refs.buttonMain.resetButtonStyle();
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
:for="inputId"
|
||||
:aria-label="questionText"
|
||||
class="form-label"
|
||||
:class="[questionAlignment === 'center' ? 'text-center w-100' : '']"
|
||||
v-html="labelText"></label>
|
||||
<div class="input-wrapper" :class="[includeSearchIcon ? 'has-search-icon' : '']">
|
||||
<input
|
||||
|
|
@ -22,7 +23,6 @@
|
|||
:class="[
|
||||
hasIcon ? 'has-icon' : '',
|
||||
iconRight ? 'icon-right' : '',
|
||||
questionAlignment === 'center' ? 'text-center' : '',
|
||||
cornerStyle === 'rounded' ? 'rounded-pill' : '',
|
||||
]"
|
||||
:validationRules="validationRules"
|
||||
|
|
|
|||
Loading…
Reference in a new issue