Skip to content

Commit

Permalink
Make szkopul dashboard wider.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgr0dzicki committed Jun 17, 2022
1 parent 4f1f026 commit 9b722db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions oioioi/szkopul/static/common/szkopul.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
@import "scss/utility";
@import "bootstrap/stylesheets/grid";

.szkopul-dashboard__container {
@extend .container-fluid;
max-width: 1400px;
}

.dashboard-container {
margin-top: 50px;
margin-bottom: 60px;
Expand Down
4 changes: 3 additions & 1 deletion oioioi/szkopul/templates/main-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
{# disables the clock on the main page #}
{% block countdown-clock %}{% endblock countdown-clock %}

{% block container-class %}container{% endblock %}
{% block container-class %}
{% if user.is_authenticated %}szkopul-dashboard__container{% else %}container{% endif %}
{% endblock %}

{% block body %}
{% block content %}
Expand Down

0 comments on commit 9b722db

Please sign in to comment.