Skip to content

Commit 59c3c86

Browse files
fix: add bottom margin overflow in hastags of event-cards (#5289)
1 parent 88d0912 commit 59c3c86

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

app/styles/partials/event-card.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.event.card {
2-
height: 355px;
2+
height: auto;
33

44
.header {
55
height: 50px;
@@ -17,6 +17,17 @@
1717
}
1818
}
1919

20+
.extra.content {
21+
22+
.hashtags {
23+
display: block;
24+
overflow: hidden;
25+
text-overflow: ellipsis;
26+
white-space: nowrap;
27+
width: 90%;
28+
}
29+
}
30+
2031
.event.wide {
2132
border-radius: 0 !important;
2233
margin: 0 !important;

app/templates/components/event-card.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<span class="right floated">
3535
<i role="button" class="share alternate link icon" {{action this.shareEvent this.event}}></i>
3636
</span>
37-
<span>
37+
<span class="hashtags">
3838
{{#if hasBlock}}
3939
{{yield}}
4040
{{else}}

0 commit comments

Comments
 (0)