aports/community/py3-django-oscar/0001-Fix-stacked-display-of-categories-without-children-i.patch
2021-09-30 16:55:05 +03:00

27 lines
1.0 KiB
Diff

From 27fe44a177b52aaa2299767ac7d879d3c130352d Mon Sep 17 00:00:00 2001
From: Tuomas Jaakola <tuomas.jaakola@iki.fi>
Date: Mon, 20 Sep 2021 12:16:20 +0300
Subject: [PATCH] Fix stacked display of categories without children in
catalogue browse template (#3772)
---
src/oscar/templates/oscar/catalogue/browse.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/oscar/templates/oscar/catalogue/browse.html b/src/oscar/templates/oscar/catalogue/browse.html
index a3e6b1bd3..e55c8a7af 100644
--- a/src/oscar/templates/oscar/catalogue/browse.html
+++ b/src/oscar/templates/oscar/catalogue/browse.html
@@ -25,7 +25,7 @@
{% if tree_categories %}
<h4>{% trans "Show results for" %}</h4>
<div class="side_categories card card-body bg-light">
- <ul class="nav nav-list">
+ <ul class="nav nav-list flex-column">
{% for tree_category in tree_categories %}
<li class="mt-2">
<a href="{{ tree_category.url }}">
--
2.31.1