Skip to content

Commit 63c4376

Browse files
Merge pull request #18 from ButterCMS/checklist-issues
Checklist issues - calendar spacing, query after slash
2 parents 97eabee + 5ef22f4 commit 63c4376

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/app/app.module.ts

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ PathLocationStrategy.prototype.prepareExternalUrl = function(internal) {
1111
if (url === '') {
1212
return url;
1313
}
14+
if (url.includes('search/?') && url.endsWith('%2F')) {
15+
return url.slice(0, -3);
16+
}
17+
if (url.includes('search?')) {
18+
return url.replace('search?', 'search/?');
19+
}
1420
if (url.endsWith('/')) {
1521
return url;
1622
}

src/app/pages/blog/components/blog/blog.component.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ <h2 class="blog-roll-card-header">
7979
</a>
8080
</li>
8181
<li>
82-
<a href="javascript:void(0)"><i
83-
class="lni lni-calendar"></i>{{post.published | date: "MM. dd. YYYY hh:mm:ss"}}
82+
<a href="javascript:void(0)">
83+
<i class="lni lni-calendar"></i>
84+
{{post.published | date: "MM. dd. YYYY hh:mm:ss"}}
8485
</a>
8586
</li>
8687
<li *ngFor="let tag of post.tags">

src/assets/css/main.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,8 @@ p {
643643
transform: rotate(-130deg);
644644
}
645645
}
646-
/*===========================
647-
NAVBAR CSS
646+
/*===========================
647+
NAVBAR CSS
648648
============================= */
649649
.navbar-area {
650650
position: absolute;
@@ -1312,6 +1312,9 @@ p {
13121312
display: inline-block;
13131313
margin-right: 12px;
13141314
}
1315+
.single-post-meta-info i, .blog-roll-card-meta-info i {
1316+
padding-right: 8px;
1317+
}
13151318
@media only screen and (min-width: 550px) {
13161319
.single-post-meta-info li a img, .blog-roll-card-meta-info li a img {
13171320
height: 35px;

0 commit comments

Comments
 (0)