restore poets page layout to make all its sections accessible while scrolling #475

This commit is contained in:
Hamid Reza Mohammadi 2025-03-12 20:10:45 +03:30
parent b2d10c2df9
commit 2e4b7849ed

View File

@ -695,7 +695,10 @@ namespace RMuseum.Services.Implementation
private string _AddTabs(string html, GanjoorCat cat, bool first, string active)
{
html += $"<div id=\"poempretab\"></div>{Environment.NewLine}";
if(first)
{
html += $"<div class=\"poempretab\" id=\"pretab\"></div>{Environment.NewLine}";
}
html += $"<div class=\"poemtab\">{Environment.NewLine}";
html += $"<div class=\"poemtablinks{(active == "stats" ? " active" : "")}\"><a href=\"#stats\">آمار</a></div>{Environment.NewLine}";
if (cat.ParentId == null)