This commit is contained in:
24c02 2026-03-02 20:29:56 -05:00
parent 6debe4e3ab
commit 77152b525d
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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) {