Skip to content

Commit

Permalink
Merge pull request #7 from privacybydesign/fix-inline-styling
Browse files Browse the repository at this point in the history
Fix inline styling
  • Loading branch information
ivard authored Mar 27, 2023
2 parents 23d26b9 + 0396132 commit da05c06
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 32 deletions.
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions plugins/yivi-web/dom-manipulations.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ module.exports = class DOMManipulations {
<input inputmode="numeric" pattern="\\d" maxlength="1" required />
<input inputmode="numeric" pattern="\\d" maxlength="1" required />
</div>
<input type="submit" style="display: none" />
<div class="yivi-web-pairing-loading-animation" style="visibility: hidden">
<input type="submit" />
<div class="yivi-web-pairing-loading-animation">
<i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i>
</div>
<p><a data-yivi-glue-transition="cancel">${this._translations.cancel}</a></p>
Expand Down
5 changes: 5 additions & 0 deletions yivi-css/src/components/yivi-pairing-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@

.yivi-web-pairing-loading-animation {
@extend .yivi-web-loading-animation;
visibility: hidden;
margin: 10px 0;
}

Expand All @@ -120,4 +121,8 @@
font-size: 1em;
}
}

input[type='submit'] {
display: none;
}
}
36 changes: 18 additions & 18 deletions yivi-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da05c06

Please sign in to comment.