Skip to content

Commit b05c193

Browse files
committed
Fix selector for CSS style
This was causing a bad margin on mobile Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent f71727f commit b05c193

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h2 class="subtitle is-size-4">
1717
</section>
1818

1919
<section class="hero is-medium">
20-
<div class="hero-body.hero-blog-content">
20+
<div class="hero-body hero-blog-content">
2121
<div class="container">
2222
{{ content }}
2323
</div>

_sass/openfaas/includes/blog-page/post-page.scss

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,22 @@
3838

3939
.hero-blog-content {
4040
padding-bottom: 0rem;
41+
.content {
42+
font-size: 20px;
43+
.post-content {
44+
font-size: 20px;
45+
margin-left: auto;
46+
margin-right: auto;
47+
width: 90%;
48+
}
49+
50+
}
4151
}
4252
}
4353
}
4454

4555
}
4656

47-
.content {
48-
font-size: 20px;
49-
}
50-
5157
.post-tabs-date {
5258
margin: $padding-step * 2 0;
5359

0 commit comments

Comments
 (0)