Skip to content

Commit

Permalink
fixed mobile nav bar position and limited interests to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
romsto committed Sep 20, 2024
1 parent dba7966 commit 50886a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ a.person-publication:hover {

.show-nav {
display: block !important;
z-index: 1;
}

.nav-links-container {
Expand Down
9 changes: 8 additions & 1 deletion people.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ <h1 class="category">LDILab's Family</h1>
</div>
<a class="person-mail" href="mailto:{{ member.mail }}">{{ member.mail }}</a>
<ul class="person-interests">
{% assign count = 0 %}
{% for interest in member.interests %}
<li>{{ interest }}</li>
{% assign count = count | plus: 1 %}
{% if count <= 3 %}
<li>{{ interest }}</li>
{% else %}
<li>...</li>
{% break %}
{% endif %}
{% endfor %}
</ul>
<a class="person-moreinfo" href="{{ site.url }}{{ site.baseurl }}{{ member.url }}">More
Expand Down

0 comments on commit 50886a8

Please sign in to comment.