Skip to content

Commit

Permalink
Avoid showcase-guy to point his finger at nothing (spiral-project#901)
Browse files Browse the repository at this point in the history
That occured on some screen sizes.
  • Loading branch information
JocelynDelalande committed Oct 30, 2021
1 parent f4d8765 commit a7d246e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ This document describes changes between each past release.
5.1.2 (unreleased)
==================

- Nothing changed yet.
Changed
-------

- Minor presentation fixes (901)


5.1.1 (2021-10-26)
Expand Down
5 changes: 5 additions & 0 deletions ihatemoney/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ body {
width: 55px;
}

#header .side-to-side {
/* avoid the man with his hand pointing at nothing */
white-space: nowrap;
}

#header .shareimg {
width: 80px;
margin-left: 5px;
Expand Down
7 changes: 5 additions & 2 deletions ihatemoney/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ <h2>{{ _("Manage your shared <br />expenses, easily") }}</h2>
</a>
{% endif %}
{% if g.lang == 'fr' %}
ou <a class="showcase btn" onclick="javascript:showGallery(); return false;">Voir la BD explicative</a>
<img class="showcaseimg" src="{{ url_for("static", filename='images/indicate.svg') }}" />
ou
<span class="side-to-side">
<a class="showcase btn" onclick="javascript:showGallery(); return false;">Voir la BD explicative</a>
<img class="showcaseimg" src="{{ url_for("static", filename='images/indicate.svg') }}" />
</span>
{% endif %}
</div>
<div class="col-xs-12 col-sm-4">
Expand Down

0 comments on commit a7d246e

Please sign in to comment.