Skip to content

Commit 9f97f5f

Browse files
committed
format fixes
1 parent 83e351d commit 9f97f5f

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

src/_sass/components/_release-note-card.scss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$this: &;
44

55
position: relative;
6-
padding: 10px;
6+
padding: 5px;
77
background-color: color(white);
88
margin-top: 20px;
99
border-radius: 8px;
@@ -13,11 +13,11 @@
1313
padding: 30px;
1414
}*/
1515

16-
&:hover {
16+
/* &:hover {
1717
border: 1px solid color(gray-100);
1818
border-color: color(gray-500);
1919
text-decoration: none;
20-
}
20+
}*/
2121
}
2222

2323
&--note-header {
@@ -31,6 +31,7 @@
3131

3232
&--badges {
3333
padding: 2px;
34+
display: inline-block;
3435
}
3536

3637
&--content {
@@ -45,15 +46,14 @@
4546
}
4647

4748
&--date {
48-
display: inline-block;
4949
font-size: 12px;
5050
font-weight: 500;
5151
color: color(gray-700);
5252
}
5353

5454
&--read-more {
5555
position: absolute;
56-
bottom: 20;
56+
bottom: 10;
5757
right: 20;
5858
padding: 5px;
5959
}
@@ -70,4 +70,8 @@
7070
display: inline-block;
7171
/*width: 50%;*/
7272
}
73+
74+
hr {
75+
padding: 2px;
76+
}
7377
}

src/release-notes/test.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ hide_toc: true
2626
{% for item in product-area %}
2727
<span class="badge badge--success {{ item | slugify }}">{{ item }}</span>
2828
{% endfor %}
29+
<p class="release-note-card--date">Released {{ note.date }}</p>
2930
</div>
3031
<div class="release-note-card--content">
3132
<main>
32-
<p>{{ note.description | markdownify }}</p>
33-
<p class="release-note-card--date">Released {{ note.date }}</p> <a class="button button-fill release-note-card--read-more" href="{{ note.read-more }}">Read more</a>
33+
<p>{{ note.description | markdownify }}</p><br>
34+
<a class="button button-fill release-note-card--read-more" href="{{ note.read-more }}">Learn more</a>
3435
</main>
3536
</div>
3637
</div>
38+
<hr style="height:0.05px">
3739
</section>
3840
{% endfor %}
3941

0 commit comments

Comments
 (0)