diff options
| author | Lucas Verney <phyks@phyks.me> | 2017-06-11 13:33:22 -0400 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-06-11 19:33:22 +0200 |
| commit | 32f2339c478d9f1f756780ddf7d7d188cc0e5f67 (patch) | |
| tree | 420b15ae1e8ee0e3f0708e04d2c07be480dedbce /budget/templates/home.html | |
| parent | ea8eda35a7bd831964c38b38cc9a5b19bcb44d6a (diff) | |
| download | ihatemoney-mirror-32f2339c478d9f1f756780ddf7d7d188cc0e5f67.zip ihatemoney-mirror-32f2339c478d9f1f756780ddf7d7d188cc0e5f67.tar.gz ihatemoney-mirror-32f2339c478d9f1f756780ddf7d7d188cc0e5f67.tar.bz2 | |
More responsive layout (#213)
Fix navbar responsiveness on mobile.
Diffstat (limited to 'budget/templates/home.html')
| -rw-r--r-- | budget/templates/home.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html index c7a9d1e..9bfe467 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -3,19 +3,19 @@ {% block body %} <header id="header" class="row"> - <div class="col-5 offset-md-2"> + <div class="col-xs-12 col-sm-5 offset-md-2"> <h2>{{ _("Manage your shared <br>expenses, easily") }}</h2> {% if is_demo_project_activated %} <a href="{{ url_for(".demo") }}" class="tryout btn">{{ _("Try out the demo") }}</a> {% endif %} </div> - <div class="col-4"> + <div class="col-xs-12 col-sm-4"> <p class="additional-content">{{ _("You're sharing a house?") }}<br /> {{ _("Going on holidays with friends?") }}<br /> {{ _("Simply sharing money with others?") }} <br /><strong>{{ _("We can help!") }}</strong></p> </div> </header> <main class="row home"> - <div class="col-4 offset-md-2"> + <div class="col-xs-12 col-sm-5 col-md-4 offset-md-2"> <form id="authentication-form" class="form-horizontal" action="{{ url_for(".authenticate") }}" method="post"> <fieldset class="form-group"> <legend>{{ _("Log to an existing project") }}...</legend> @@ -27,7 +27,7 @@ </div> </form> </div> - <div class="col-3 offset-md-1"> + <div class="col-xs-12 col-sm-5 col-md-3 offset-sm-1"> {% if is_admin_mode_enabled %} <a href="{{ url_for(".create_project") }}">...{{ _("or create a new one") }}</a> {% else %} |
