Fix print styling for 2FA recovery codes page
This commit is contained in:
parent
7ea647b2ff
commit
1cec1d0423
|
@ -47,6 +47,12 @@
|
||||||
&__recovery {
|
&__recovery {
|
||||||
&-container {
|
&-container {
|
||||||
max-width: 455px;
|
max-width: 455px;
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
.card {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-icon {
|
&-icon {
|
||||||
|
@ -73,4 +79,4 @@
|
||||||
|
|
||||||
#user_otp_attempt {
|
#user_otp_attempt {
|
||||||
@extend %totp-input;
|
@extend %totp-input;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
%link{ rel: 'icon', href: '/icons/maskable_icon_x192.png', sizes: '192x192' }
|
%link{ rel: 'icon', href: '/icons/maskable_icon_x192.png', sizes: '192x192' }
|
||||||
%link{ rel: 'icon', href: '/images/favicon/favicon-32.png', sizes: '32x32' }
|
%link{ rel: 'icon', href: '/images/favicon/favicon-32.png', sizes: '32x32' }
|
||||||
%title= yield(:title)
|
%title= yield(:title)
|
||||||
= stylesheet_link_tag 'application', data: { 'turbo-track': 'reload' }
|
= stylesheet_link_tag 'application', data: { 'turbo-track': 'reload' }, media: 'all'
|
||||||
= javascript_include_tag 'application', data: { 'turbo-track': 'reload' }, defer: true
|
= javascript_include_tag 'application', data: { 'turbo-track': 'reload' }, defer: true
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
= yield(:og)
|
= yield(:og)
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
= render 'navigation/mobile', notifications: notifications
|
= render 'navigation/mobile', notifications: notifications
|
||||||
|
|
||||||
= render 'modal/ask'
|
= render 'modal/ask'
|
||||||
%button.btn.btn-primary.btn-fab.d-block.d-lg-none{ data: { bs_target: '#modal-ask-followers', bs_toggle: :modal }, type: 'button' }
|
%button.btn.btn-primary.btn-fab.d-block.d-lg-none.d-print-none{ data: { bs_target: '#modal-ask-followers', bs_toggle: :modal }, type: 'button' }
|
||||||
%i.fa.fa-pencil-square-o
|
%i.fa.fa-pencil-square-o
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
.d-none.d-print-block.totp-setup__recovery-icon
|
.d-none.d-print-block.totp-setup__recovery-icon
|
||||||
%i.fa.fa-comments
|
%img{ src: "/icons/icon.svg", width: 96 }
|
||||||
%h1.totp-setup__recovery-title= t(".heading", app_name: APP_CONFIG['site_name'])
|
%h1.totp-setup__recovery-title= t(".heading", app_name: APP_CONFIG['site_name'])
|
||||||
|
|
||||||
%ul.totp-setup__recovery-codes
|
%ul.totp-setup__recovery-codes
|
||||||
|
|
Loading…
Reference in New Issue