From 4a11b19e507ae33be3343e640e8434aac6538f00 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Thu, 13 Mar 2025 13:05:37 +0330 Subject: [PATCH] restore poets page layout to make all its sections accessible while scrolling #475 --- .../GanjoorService-Partials/GanjoorService-TOC.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs index acc34e70..26e1bbff 100644 --- a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs +++ b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs @@ -710,7 +710,12 @@ namespace RMuseum.Services.Implementation private string _AddTabs(string html, GanjoorCat cat, string active) { - html += $"
{Environment.NewLine}"; + html += $"
"; + if (active == "stats") + { + html += "
"; + } + html += $"
{Environment.NewLine}"; html += $"
{Environment.NewLine}"; html += $"{Environment.NewLine}"; if (cat.ParentId == null)