From 9743d2f40c0e58c22640329121b73b676b6c8425 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 7 Dec 2023 08:27:16 -0500 Subject: [PATCH] [frio] Limit thread indentation level to 7 (at thread level 9) --- view/theme/frio/css/style.css | 8 ++++++-- view/theme/frio/templates/wall_thread.tpl | 9 ++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 3d4d9f73dd..bb6d386b48 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -2219,7 +2219,9 @@ img.acpopup-img { .wall-item-container.thread_level_4, .wall-item-container.thread_level_5, .wall-item-container.thread_level_6, -.wall-item-container.thread_level_7 { +.wall-item-container.thread_level_7, +.wall-item-container.thread_level_8, +.wall-item-container.thread_level_9 { margin-left: 15px; } @@ -3901,7 +3903,9 @@ section .profile-match-wrapper { .wall-item-container.thread_level_4, .wall-item-container.thread_level_5, .wall-item-container.thread_level_6, - .wall-item-container.thread_level_7 { + .wall-item-container.thread_level_7, + .wall-item-container.thread_level_8, + .wall-item-container.thread_level_9 { margin-left: 5px; } } diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index f63a8a478a..d06dd86de3 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -46,12 +46,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} {{/if}} -{{* Use a different div container in dependence max thread-level = 7 *}} -{{if $item.thread_level<7}}
-{{else}} -
-{{/if}} {{if $item.thread_level==1}} @@ -169,7 +164,7 @@ as the value of $top_child_total (this is done at the end of this file) • {{else}} - • + • @@ -341,7 +336,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} {{/if}} - + {{* Buttons for like and dislike *}} {{if $item.vote}}