mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 17:59:45 -04:00
Make column widths consistent with other pages
Pages within a service use a 2/8, 5/8, 1/8 grid. The content pages use a 1/4, 3/4 grid, for consistency with the product page template. But I feel like the internal consistency is more important, and it feels weird for the main content column to jump about.
This commit is contained in:
@@ -7,15 +7,22 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="grid-row">
|
||||
|
||||
{% if navigation_links %}
|
||||
<div class="column-one-third">
|
||||
<div class="column-one-quarter">
|
||||
{{ sub_navigation(navigation_links) }}
|
||||
</div>
|
||||
<div class="column-five-eighths">
|
||||
{% else %}
|
||||
<div class="column-two-thirds">
|
||||
{% endif %}
|
||||
<div class="column-two-thirds">
|
||||
{% block content_column_content %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content_column_content %}
|
||||
{% endblock %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user