Skip to content

Commit 908bab2

Browse files
authored
Homepage mobile improvements. (#596)
* Modify padding on page footer to ensure no overlap on small mobile screens. * Correct the markup of highlighted projects on small screens.
1 parent 988e02c commit 908bab2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/static/beeware.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ html {
406406

407407
body {
408408
/* Margin bottom by footer height */
409-
margin-bottom: 60px;
409+
margin-bottom: 10rem;
410410
}
411411

412412
.footer {

templates/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ <h4><a href="{{ event|url(alt=this.alt) }}">{{ event.title }}</a></h4>
199199
<h2><a href="{{ '/project'|url(alt=this.alt) }}">{{ t_projects }}</a></h2>
200200
{% set project_types = site.query('/project', alt=this.alt) %}
201201
{% for project in project_types %}
202-
{% if project.showcase %}
202+
{% if not project.project_page_description %}
203203
<div>
204204
<h4><a href="{{ project|url(alt=this.alt) }}"><img src="{{ site.get(project.path, alt='_primary')|url }}{{ project.image }}" height="32px" alt="{{ project.name }}"> {{ project.name }}</h4></a>
205205
{{ project.short_description|safe }}

0 commit comments

Comments
 (0)