@@ -36,16 +36,22 @@ function prettifyDates() {
3636
3737 <main class="mdl-layout__content" layout-children="column">
3838 <form layout-children="column" method="post">
39+ <p>
40+ <h2 class="mdl-typography--headline">
41+ <?= $ this ->t ('{material:review:info} ' ) ?>
42+ </h2>
43+ </p>
44+
3945 <section layout-children="row-top" >
4046 <?php if (count ($ this ->data ['mfaOptions ' ]) > 0 ): ?>
41- <div class="mdl-card mdl-shadow--8dp">
47+ <div class="mdl-card fixed-width mdl-shadow--8dp">
4248 <div class="mdl-card__title center">
4349 <h1 class="mdl-card__title-text">
4450 <?= $ this ->t ('{material:review:mfa_header} ' ) ?>
4551 </h1>
4652 </div>
4753
48- <div class="mdl-card__title center " >
54+ <div class="mdl-card__title" >
4955 <ul class="mdl-card__subtitle-text mdl-list">
5056 <?php foreach ($ this ->data ['mfaOptions ' ] as $ mfa ): ?>
5157 <li class="mdl-list__item mdl-list__item--three-line">
@@ -74,14 +80,15 @@ function prettifyDates() {
7480 <?php endif ; ?>
7581
7682 <?php if (count ($ this ->data ['methodOptions ' ]) > 0 ): ?>
77- <div class="mdl-card mdl-shadow--8dp">
83+ <!-- if there are two cards, remove the right margin so the buttons align with the edge of the card. -->
84+ <div class="mdl-card fixed-width mdl-shadow--8dp" style="<?= count ($ this ->data ['methodOptions ' ]) == 2 ? 'margin-right: 0px ' : '' ?> ">
7885 <div class="mdl-card__title center">
7986 <h1 class="mdl-card__title-text">
8087 <?= $ this ->t ('{material:review:methods_header} ' ) ?>
8188 </h1>
8289 </div>
8390
84- <div class="mdl-card__title center " >
91+ <div class="mdl-card__title" >
8592 <ul class="mdl-card__subtitle-text mdl-list">
8693 <?php foreach ($ this ->data ['methodOptions ' ] as $ method ): ?>
8794 <li class="mdl-list__item mdl-list__item--two-line">
0 commit comments