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

Commit 5ec13e9

Browse files
authored
Merge pull request #87 from silinternational/develop
tall images were getting cropped on the bottom of cards, e.g., SIL Pa…
2 parents 56b7df0 + 55ed811 commit 5ec13e9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

themes/material/common-head-elements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$colors = htmlentities($this->configuration->getValue('theme.color-scheme') ?: 'indigo-purple');
3333
?>
3434
<link rel="stylesheet" href="material.<?= $colors ?>.1.2.1.min.css">
35-
<link rel="stylesheet" href="styles.2.3.5.css">
35+
<link rel="stylesheet" href="styles.2.3.6.css">
3636

3737
<script async src="material.1.2.1.min.js"></script>
3838

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ i.material-icons.mdl-typography--display-4 {
110110
background-color: white;
111111
}
112112

113+
/* file entire card, so need to match mdl-card's min-height of 200px */
113114
.fixed-height {
114-
height: 185px;
115+
height: 200px;
115116
}
116117

117118
.fill-parent {
@@ -121,6 +122,7 @@ i.material-icons.mdl-typography--display-4 {
121122

122123
.scale-to-parent {
123124
max-width: 90%;
125+
max-height: 90%;
124126
}
125127

126128
.hide {

0 commit comments

Comments
 (0)