Skip to content

Commit 612b2df

Browse files
committed
Style feed item contents more
1 parent 473455f commit 612b2df

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎assets/sass/components/feedItem.scss‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,26 @@
3838
opacity: 75%
3939
}
4040
}
41+
42+
.feed-item-body {
43+
// Styles for the body of a feed item
44+
img {
45+
max-width: 100%;
46+
}
47+
hr {
48+
border: 0;
49+
border-bottom: 2px solid var(--color-border);
50+
}
51+
p {
52+
line-height: 1.3rem;
53+
}
54+
blockquote {
55+
background: var(--color-bg-low);
56+
margin: $space calc($space * 2);
57+
padding: $space;
58+
59+
p:last-child {
60+
margin-bottom: 0;
61+
}
62+
}
63+
}

0 commit comments

Comments
 (0)