Skip to content

Commit

Permalink
make nav buttons smaller on mobile screens #37
Browse files Browse the repository at this point in the history
  • Loading branch information
Naomi Eliasar committed Aug 1, 2024
1 parent 95a12ec commit b696445
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/brazil_blog/static/css/brazil_blog_compiled.css
Original file line number Diff line number Diff line change
Expand Up @@ -2289,6 +2289,11 @@ select {
.md\:items-end {
align-items: flex-end;
}

.md\:text-base {
font-size: 1rem;
line-height: 1.5rem;
}
}

@media (min-width: 1024px) {
Expand Down
2 changes: 1 addition & 1 deletion src/brazil_blog/templates/includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1 class="text-3xl font-bold">{{ site_name }}</h1>
{% for menuitem in site_root.get_children.live.in_menu %}
<li>
<a href="{% pageurl menuitem %}" class="text-white hover:text-blue-800 transition-colors">
{{ menuitem.title }}
<span class="text-sm md:text-base"> {{ menuitem.title }} </span>
</a>
</li>
{% endfor %}
Expand Down

0 comments on commit b696445

Please sign in to comment.