Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 7bd09ad

Browse files
author
Billy Clark
committed
FF flexbug issue, see #54
1 parent f8a6baa commit 7bd09ad

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

themes/material/mfa/new-backup-codes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function disableDownload() {
5656
</p>
5757

5858
<div class="mdl-card mdl-shadow--8dp">
59-
<div class="mdl-card__supporting-text" layout-children="column" id="code-card">
59+
<div class="mdl-card__supporting-text ff-temp-flexbug-fix" layout-children="column" id="code-card">
6060
<?php
6161
$idpName = htmlentities($this->configuration->getValue('idp_display_name', $this->configuration->getValue('idp_name', '')));
6262
?>

www/styles.2.3.1.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ pre {
3232
align-items: center;
3333
}
3434

35+
/* FF was only displaying 4 codes per column (even though there were 5) as a result of this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1043520 */
36+
.ff-temp-flexbug-fix {
37+
padding-top: 0.5em;
38+
}
39+
3540
.code-container {
3641
display: flex;
3742
flex-direction: column;

0 commit comments

Comments
 (0)