restore poets page layout to make all its sections accessible while scrolling #475
This commit is contained in:
parent
0d61d8cf04
commit
4a11b19e50
@ -710,7 +710,12 @@ namespace RMuseum.Services.Implementation
|
||||
|
||||
private string _AddTabs(string html, GanjoorCat cat, string active)
|
||||
{
|
||||
html += $"<div class=\"poempretab\" id=\"{active}\"></div>{Environment.NewLine}";
|
||||
html += $"<div class=\"poempretab\" id=\"{active}\">";
|
||||
if (active == "stats")
|
||||
{
|
||||
html += "<div id=\"pretab\"></div>";
|
||||
}
|
||||
html += $"</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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user