aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/WebAuthn/AddDevice.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/src/components/WebAuthn/AddDevice.vue')
-rw-r--r--apps/settings/src/components/WebAuthn/AddDevice.vue9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/settings/src/components/WebAuthn/AddDevice.vue b/apps/settings/src/components/WebAuthn/AddDevice.vue
index 818341ba5fc..db00bae451a 100644
--- a/apps/settings/src/components/WebAuthn/AddDevice.vue
+++ b/apps/settings/src/components/WebAuthn/AddDevice.vue
@@ -50,8 +50,8 @@
<script>
import { showError } from '@nextcloud/dialogs'
import { confirmPassword } from '@nextcloud/password-confirmation'
-import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
-import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
+import NcButton from '@nextcloud/vue/components/NcButton'
+import NcTextField from '@nextcloud/vue/components/NcTextField'
import logger from '../../logger.ts'
import {
@@ -59,6 +59,8 @@ import {
finishRegistration,
} from '../../service/WebAuthnRegistrationSerice.ts'
+import '@nextcloud/password-confirmation/dist/style.css'
+
const logAndPass = (text) => (data) => {
logger.debug(text)
return data
@@ -177,8 +179,7 @@ export default {
.webauthn-loading {
display: inline-block;
vertical-align: sub;
- margin-left: 2px;
- margin-right: 2px;
+ margin-inline: 2px;
}
.new-webauthn-device {