Skip to content

Commit

Permalink
fix mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
uncletoxa committed Jul 6, 2024
1 parent 87bee85 commit e73461f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/results/templates/results_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

{% block content %}
<div class="row">
<div class="col-7">
<div class="col-8">
<h3>
<small class="text-muted"><a href="{% url 'results:points_table' %}">standings</a></small>
</h3>
{% cup_standings True False %}
</div>
<div class="col-5">
<div class="col">
<h3>
<small class="text-muted"><a href="{% url 'results:results_champions' %}">champions choices</a></small>
</h3>
Expand Down
4 changes: 2 additions & 2 deletions app/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

{% block content %}
<div class="row">
<div class="col-5">
<div class="col">
<h3>
<small class="text-muted"><a href={% url 'results:results_index' %}>Сup Standings</a> <span class="text-danger">Live</span></small>
</h3>
{% cup_standings False True %}
</div>
<div class="col-7">
<div class="col-6">
<div class="row">
<div class="col">
{% live_matches %}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/includes/live_matches.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<span class="badge badge-danger">Live Results</span><small >&nbsp;powered by <a href="https://www.football-data.org">football-data.org</a></small>
<div class="card-deck">
{% for live_match in live_matches %}
<div class="card w-25">
<div class="card w-100">
<div class="card-header"><a href="{% url 'matches:single_match' live_match.match_id %}">{{ live_match }}</a></div>
<div class="card-body">
<h3 class="card-title">{{ live_match.result }}</h3>
Expand Down

0 comments on commit e73461f

Please sign in to comment.