Skip to content

Commit

Permalink
Merge pull request #1290 from LF-Engineering/loop
Browse files Browse the repository at this point in the history
Don't repeat the first blog post and make Resources menu wider
  • Loading branch information
alenacal authored Feb 7, 2023
2 parents 149d4e3 + 1a04c05 commit 4df6e21
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions _layouts/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ <h1 class="blog-index-title">
<div class="row blog-vertical">

{% for post in posts %}

{% if forloop.first %}
{% continue %}
{% endif %}

<div class="vertical-blog-container">
<div class="col-md-4">
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>
Expand Down
14 changes: 13 additions & 1 deletion _sass/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,23 @@
}
}

.main-menu ul li:nth-child(7) .resources-dropdown {

.resources-dropdown-menu {
width: 376px;
left: -110px;

p {
margin-bottom: 0.5rem;
}
}
}


.main-menu ul li {
.ecosystem-dropdown, .resources-dropdown a {
cursor: pointer;
}

.ecosystem-dropdown, .resources-dropdown {
.with-down-orange-arrow {
padding-right: rem(32px);
Expand Down

0 comments on commit 4df6e21

Please sign in to comment.