Fix .box spacing issues

This commit is contained in:
rubenwardy 2018-05-21 22:42:02 +01:00
parent 4841c66602
commit 5b056e8aab
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
5 changed files with 75 additions and 70 deletions

@ -32,7 +32,7 @@ a:hover {
} }
.box .box-body { .box .box-body {
padding: 1em; padding: 1em !important;
} }
// .box form { // .box form {

@ -10,7 +10,7 @@ Sign in
{% from "flask_user/_macros.html" import render_field, render_checkbox_field, render_submit_field %} {% from "flask_user/_macros.html" import render_field, render_checkbox_field, render_submit_field %}
<h2>{%trans%}Sign in{%endtrans%}</h2> <h2>{%trans%}Sign in{%endtrans%}</h2>
<form action="" method="POST" class="form" role="form" class="box-body"> <form action="" method="POST" class="form box-body" role="form">
<a href="{{ url_for('github_signin_page') }}">GitHub</a> <a href="{{ url_for('github_signin_page') }}">GitHub</a>
@ -64,7 +64,6 @@ Sign in
{# Submit button #} {# Submit button #}
{{ render_submit_field(form.submit, tabindex=180) }} {{ render_submit_field(form.submit, tabindex=180) }}
</form> </form>
</div> </div>
<div class="right"> <div class="right">

@ -3,6 +3,7 @@
{% block container %} {% block container %}
<main> <main>
<div class="box box_grey"> <div class="box box_grey">
<!-- <h2>{{ self.title() }}</h2> -->
<div class="box-body"> <div class="box-body">
{% block content %} {% block content %}
{% endblock %} {% endblock %}

@ -40,6 +40,8 @@
</ul> </ul>
<aside class="asideright box box_grey"> <aside class="asideright box box_grey">
<h3>Details</h3>
<div class="box-body">
<table> <table>
<tr> <tr>
<td>Name</td> <td>Name</td>
@ -79,6 +81,7 @@
<li><a href="{{ package.getCreateReleaseURL() }}">Create Release</a></li> <li><a href="{{ package.getCreateReleaseURL() }}">Create Release</a></li>
{% endif %} {% endif %}
</ul> </ul>
</div>
</aside> </aside>
<p class="package-short-large">{{ package.shortDesc }}</p> <p class="package-short-large">{{ package.shortDesc }}</p>

@ -9,7 +9,7 @@
<div class="box box_grey"> <div class="box box_grey">
<h2>{{ user.display_name }}</h2> <h2>{{ user.display_name }}</h2>
<table> <table class="box-body">
<tr> <tr>
<td>Rank:</td> <td>Rank:</td>
<td> <td>
@ -47,6 +47,7 @@
<div class="box box_grey"> <div class="box box_grey">
<h2>Packages</h2> <h2>Packages</h2>
<div class="box-body">
<ul> <ul>
{% for p in user.packages %} {% for p in user.packages %}
<li><a href="{{ p.getDetailsURL() }}"> <li><a href="{{ p.getDetailsURL() }}">
@ -62,13 +63,14 @@
</a></p> </a></p>
{% endif %} {% endif %}
</div> </div>
</div>
{% if form %} {% if form %}
{% from "macros/forms.html" import render_field, render_submit_field %} {% from "macros/forms.html" import render_field, render_submit_field %}
<div class="box box_grey"> <div class="box box_grey">
<h2>Edit Details</h2> <h2>Edit Details</h2>
<form action="" method="POST" class="form" role="form"> <form action="" method="POST" class="form box-body" role="form">
<div class="row"> <div class="row">
<div class="col-sm-6 col-md-5 col-lg-4"> <div class="col-sm-6 col-md-5 col-lg-4">
{{ form.hidden_tag() }} {{ form.hidden_tag() }}