Skip to content

Commit 4df6e21

Browse files
authored
Merge pull request #1290 from LF-Engineering/loop
Don't repeat the first blog post and make Resources menu wider
2 parents 149d4e3 + 1a04c05 commit 4df6e21

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

_layouts/blog.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ <h1 class="blog-index-title">
3636
<div class="row blog-vertical">
3737

3838
{% for post in posts %}
39+
40+
{% if forloop.first %}
41+
{% continue %}
42+
{% endif %}
43+
3944
<div class="vertical-blog-container">
4045
<div class="col-md-4">
4146
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>

_sass/navigation.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,23 @@
249249
}
250250
}
251251

252+
.main-menu ul li:nth-child(7) .resources-dropdown {
253+
254+
.resources-dropdown-menu {
255+
width: 376px;
256+
left: -110px;
257+
258+
p {
259+
margin-bottom: 0.5rem;
260+
}
261+
}
262+
}
263+
264+
252265
.main-menu ul li {
253266
.ecosystem-dropdown, .resources-dropdown a {
254267
cursor: pointer;
255268
}
256-
257269
.ecosystem-dropdown, .resources-dropdown {
258270
.with-down-orange-arrow {
259271
padding-right: rem(32px);

0 commit comments

Comments
 (0)