Skip to content

Commit 2665602

Browse files
authored
Merge pull request #284 from adamhb123/text-wrapping-causes-inconsistent-sizing-of-cards-pt2
Truncate and Ellipsize Card Header Text on Overflow
2 parents 27ca9ca + bf477a0 commit 2665602

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

assets/css/main.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ img.rounded,
4141
box-shadow: 0 2px 15px darken($gray, 20%);
4242
}
4343

44+
.card-header {
45+
white-space: nowrap;
46+
overflow: hidden;
47+
text-overflow: ellipsis;
48+
}
49+
4450
img.center-vertically {
4551
width: 80%;
4652
height: auto;

0 commit comments

Comments
 (0)