mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 19:45:08 +00:00
fix #189
This commit is contained in:
parent
6debe4e3ab
commit
77152b525d
2 changed files with 4 additions and 1 deletions
|
|
@ -154,7 +154,8 @@ class Components::BackupCodesDisplay < Components::Base
|
|||
a(
|
||||
download: "backup-codes.txt",
|
||||
href: "data:text/plain;charset=utf-8,#{ERB::Util.url_encode(@codes.join("\n"))}",
|
||||
class: "button secondary"
|
||||
role: "button",
|
||||
class: "secondary"
|
||||
) do
|
||||
t "identity_backup_codes.download"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -410,12 +410,14 @@
|
|||
display: flex;
|
||||
gap: $space-3;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
margin-bottom: $space-5;
|
||||
|
||||
button,
|
||||
a {
|
||||
flex: 1;
|
||||
min-width: 140px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue