Skip to content

Commit bf477a0

Browse files
committed
Truncate and Ellipsize Card Header Text on Overflow
Resolves #282 (but for real this time)
1 parent 27ca9ca commit bf477a0

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)