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

Commit 1f28983

Browse files
author
Billy Clark
committed
ux feedback
1 parent a0dea48 commit 1f28983

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

themes/material/profilereview/review.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ function prettifyDates() {
8080
<?php endif; ?>
8181

8282
<?php if (count($this->data['methodOptions']) > 0): ?>
83-
<div class="mdl-card fixed-width 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' : '' ?>">
8485
<div class="mdl-card__title center">
8586
<h1 class="mdl-card__title-text">
8687
<?= $this->t('{material:review:methods_header}') ?>

0 commit comments

Comments
 (0)