[damned-lies/develop] fix: use row and col in lang/module lists
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/develop] fix: use row and col in lang/module lists
- Date: Thu, 6 Oct 2022 11:51:47 +0000 (UTC)
commit eda5b321fd4bfbf46f574cf20069320ca17e6e1c
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date: Thu Oct 6 13:50:55 2022 +0200
fix: use row and col in lang/module lists
languages/templates/languages/language_list.html | 4 ++--
templates/module_list.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/languages/templates/languages/language_list.html
b/languages/templates/languages/language_list.html
index 7d7cac07..06ee896d 100644
--- a/languages/templates/languages/language_list.html
+++ b/languages/templates/languages/language_list.html
@@ -12,10 +12,10 @@
{% endblocktrans %}</p>
{% load list_to_columns %}
-<div class="column_container">
+<div class="row">
{% list_to_columns languages as columns 3 %}
{% for col in columns %}
- <div class="column_box col-xs-12 col-sm-4 no-padding">
+ <div class="column_box col-xs-12 col-sm-4 col-4 p-0 m-0">
<ul>
{% for lang in col %}
<li>
diff --git a/templates/module_list.html b/templates/module_list.html
index b08ad7fa..3a3d7a45 100644
--- a/templates/module_list.html
+++ b/templates/module_list.html
@@ -10,10 +10,10 @@
<p>{% trans "Select a module below to see some of the damned lies about it:" %}</p>
{% load list_to_columns %}
-<div class="column_container">
+<div class="row">
{% list_to_columns modules as columns 3 %}
{% for l in columns %}
- <div class="column_box col-xs-12 col-sm-4 no-padding">
+ <div class="column_box col-xs-12 col-sm-4 col-4 p-0 m-0">
<ul>
{% for m in l %}
<li><a href="{% url 'module' m.name %}">{{ m.get_description }}</a></li>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]