From 2e4b7849ed683ed875dabcba5e09ad3e60b6c2b4 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Wed, 12 Mar 2025 20:10:45 +0330 Subject: [PATCH] restore poets page layout to make all its sections accessible while scrolling #475 --- .../GanjoorService-Partials/GanjoorService-TOC.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs index 4cce9844..f7602f25 100644 --- a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs +++ b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-TOC.cs @@ -695,7 +695,10 @@ namespace RMuseum.Services.Implementation private string _AddTabs(string html, GanjoorCat cat, bool first, string active) { - html += $"
{Environment.NewLine}"; + if(first) + { + html += $"
{Environment.NewLine}"; + } html += $"
{Environment.NewLine}"; html += $"{Environment.NewLine}"; if (cat.ParentId == null)