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

Commit a7cb384

Browse files
author
Billy Clark
committed
ie11 flexbox bug was causing cards not to wrap as intended.
1 parent fb3bc08 commit a7cb384

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

themes/material/default/selectidp-links.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function setSelectedIdp(id) {
2828
</div>
2929
</header>
3030

31-
<main class="mdl-layout__content" layout-children="column">
31+
<main class="mdl-layout__content">
3232
<?php include __DIR__ . '/../common-announcement.php' ?>
3333

3434
<form action="<?= htmlentities($_SERVER['PHP_SELF']) ?>"

www/styles.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@
6666
background-color: tomato;
6767
border-radius: 0.33em;
6868
padding: 1em;
69+
70+
/*
71+
had to center manually instead of using flex due to ie11 bug that
72+
was causing idp cards not to wrap when parent container was centered
73+
*/
74+
margin-left: auto;
75+
margin-right: auto;
6976
}
7077

7178
.alert a {

0 commit comments

Comments
 (0)