Skip to content

Commit

Permalink
change labels layout to flex
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhercaz authored Sep 28, 2023
1 parent 3584a92 commit 8f1dbd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/learn/templates/learn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ <h1 class="title">Aprende Python</h1>

<p>En esta sección podrás encontrar <strong>recursos de aprendizaje Python</strong>. Están clasificados por etiquetas:</p>

<ul>
<ul class="display: flex; flex-wrap: wrap">
{% for label in labels %}
<li>
<li class="padding: 5px 5px 5px 0px">
<a class="label"
style="background-color: #{{ label.color }}; color: #{{ label.foreground_color }}"
href="{% url "learn:resources_by_label" label=label %}">
Expand Down

0 comments on commit 8f1dbd0

Please sign in to comment.