diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-30 12:10:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-30 12:10:21 +0300 |
commit | ea0085de54590ffde24fee2ced286961a419410d (patch) | |
tree | 37245851fa82d45f8c2809475497427d1a3dcfac /app/assets/javascripts/authentication | |
parent | f8b2dfce123fa34b1ff01e18cbf643043b4d1eec (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/authentication')
-rw-r--r-- | app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue b/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue index 55642aa64db..4f9f6fb25c6 100644 --- a/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue +++ b/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue @@ -1,5 +1,5 @@ <script> -import { GlSprintf, GlButton, GlAlert } from '@gitlab/ui'; +import { GlSprintf, GlButton, GlAlert, GlCard } from '@gitlab/ui'; import Mousetrap from 'mousetrap'; import { __ } from '~/locale'; import Tracking from '~/tracking'; @@ -34,7 +34,7 @@ export default { recoveryCodeDownloadFilename: RECOVERY_CODE_DOWNLOAD_FILENAME, i18n, mousetrap: null, - components: { GlSprintf, GlButton, GlAlert, ClipboardButton }, + components: { GlSprintf, GlButton, GlAlert, ClipboardButton, GlCard }, mixins: [Tracking.mixin()], props: { codes: { @@ -116,8 +116,8 @@ export default { </gl-sprintf> </p> - <div - class="codes-to-print gl-my-5 gl-p-5 gl-border-solid gl-border-1 gl-border-gray-100 gl-rounded-base" + <gl-card + class="codes-to-print gl-my-5" data-testid="recovery-codes" data-qa-selector="codes_content" > @@ -126,7 +126,7 @@ export default { <span class="gl-font-monospace" data-qa-selector="code_content">{{ code }}</span> </li> </ul> - </div> + </gl-card> <div class="gl-my-n2 gl-mx-n2 gl-display-flex gl-flex-wrap"> <div class="gl-p-2"> <clipboard-button |