Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 70ff6d8

Browse files
committed
fix(blog): style tweaks
1 parent d67b8a9 commit 70ff6d8

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

src/components/app-blog-content/app-blog-content.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,14 @@
172172
text-align: center;
173173
margin-bottom: 20px;
174174

175+
@include media-breakpoint-down(md) {
176+
text-align: left;
177+
font-size: 24px;
178+
margin-bottom: 40px;
179+
}
180+
175181
@include media-breakpoint-down(sm) {
182+
text-align: center;
176183
font-size: 24px;
177184
margin-bottom: 40px;
178185
}

src/components/app-blog-content/app-blog-content.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ export class AppBlogContent {
123123
</div>
124124
<hr />
125125
<div class="row">
126-
<div class="col-md-2 offset-md-2 blog-content-author-image">
126+
<div class="col-md-3 col-lg-2 offset-md-1 offset-lg-2 blog-content-author-image">
127127
<h5>About the Author</h5>
128128
<img src={this.blogPost.author.profile_image} alt={`${this.blogPost.author.first_name} ${this.blogPost.author.last_name}`} />
129129
</div>
130-
<div class="col-md-6 blog-content-author-text">
130+
<div class="col-md-7 col-lg-6 blog-content-author-text">
131131
<h5>About the Author</h5>
132132
<h2>{`${this.blogPost.author.first_name} ${this.blogPost.author.last_name}`}</h2>
133133
<p class="text-left">{this.blogPost.author.bio}</p>

src/pages/app-blog-post/app-blog-post.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
margin-top: 70px;
33
font-family: 'Muli';
44

5+
a {
6+
word-break: break-word;
7+
}
8+
59
.blog-post-content {
610
padding: 4%;
711

src/pages/app-blog/app-blog.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@
205205
display: flex;
206206

207207
button {
208-
height: 52px;
208+
padding: 0;
209+
border: 0;
210+
background: transparent;
209211
}
210212
}
211213

0 commit comments

Comments
 (0)