Fixes margins on the index.
This commit is contained in:
parent
0441b72d13
commit
48332b2148
3 changed files with 10 additions and 5 deletions
|
@ -6,6 +6,10 @@
|
||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__container {
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
&__sidebar {
|
&__sidebar {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
.news__preview {
|
.news__preview {
|
||||||
|
margin-bottom: 2px;
|
||||||
|
|
||||||
&__listing {
|
&__listing {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
<div class="index">
|
<div class="index">
|
||||||
<div class="index__sidebar">
|
<div class="index__sidebar">
|
||||||
{% if chat_quote is defined and chat_quote is iterable and chat_quote|length > 0 %}
|
{% if chat_quote is defined and chat_quote is iterable and chat_quote|length > 0 %}
|
||||||
<div class="container">
|
<div class="container index__container">
|
||||||
{{ container_title('Chat quote from ' ~ (chat_quote[0].quote_timestamp|date('Y-m-d'))) }}
|
{{ container_title('Chat quote from ' ~ (chat_quote[0].quote_timestamp|date('Y-m-d'))) }}
|
||||||
{{ chat_quote_display(chat_quote) }}
|
{{ chat_quote_display(chat_quote) }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container index__container">
|
||||||
{{ container_title('Statistics') }}
|
{{ container_title('Statistics') }}
|
||||||
<div class="container__content">
|
<div class="container__content">
|
||||||
{% if users_count < 1 %}
|
{% if users_count < 1 %}
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container index__container">
|
||||||
{{ container_title('Online users') }}
|
{{ container_title('Online users') }}
|
||||||
<div class="container__content">
|
<div class="container__content">
|
||||||
{% if online_users < 1 %}
|
{% if online_users < 1 %}
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container index__container">
|
||||||
{{ container_title('Changelog', '/changelog.php') }}
|
{{ container_title('Changelog', '/changelog.php') }}
|
||||||
<div class="changelog__content">
|
<div class="changelog__content">
|
||||||
{{ changelog_listing(featured_changelog) }}
|
{{ changelog_listing(featured_changelog) }}
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
<div class="index__main">
|
<div class="index__main">
|
||||||
{% if current_user is defined %}
|
{% if current_user is defined %}
|
||||||
<div class="container">
|
<div class="container index__container">
|
||||||
{{ container_title('Welcome') }}
|
{{ container_title('Welcome') }}
|
||||||
<div class="container__content">
|
<div class="container__content">
|
||||||
<p>You have 0 new messages because the PM system doesn't exist yet, have a nice day.</p>
|
<p>You have 0 new messages because the PM system doesn't exist yet, have a nice day.</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue