restore poets page layout to make all its sections accessible while scrolling #475
This commit is contained in:
parent
1f1757eeaf
commit
312f95246a
@ -12,7 +12,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
namespace RMuseum.Services.Implementation
|
||||
{
|
||||
@ -858,7 +858,7 @@ namespace RMuseum.Services.Implementation
|
||||
poetId == relatedPoetId
|
||||
&&
|
||||
normalRelatedPoems.Where(r => r.Id == Guid.Empty && r.PoemId == quotedPoem.RelatedPoemId && r.RelatedPoemId == quotedPoem.PoemId && (r.CoupletIndex == quotedPoem.RelatedCoupletIndex || r.RelatedCoupletIndex == quotedPoem.CoupletIndex )).Any())
|
||||
{
|
||||
{//not working ???
|
||||
continue;
|
||||
}
|
||||
quotedPoem.Id = Guid.Empty;
|
||||
|
||||
@ -710,11 +710,11 @@ namespace RMuseum.Services.Implementation
|
||||
|
||||
private string _AddTabs(string html, GanjoorCat cat, string active)
|
||||
{
|
||||
html += $"<div class=\"poempretab\" id=\"{active}\">";
|
||||
if (active == "stats")
|
||||
{
|
||||
html += "<div id=\"pretab\"></div>";
|
||||
}
|
||||
html += $"<div class=\"poempretab\" id=\"{active}\">";
|
||||
html += $"</div>{Environment.NewLine}";
|
||||
html += $"<div class=\"poemtab\">{Environment.NewLine}";
|
||||
html += $"<div class=\"poemtablinks{(active == "stats" ? " active" : "")}\"><a href=\"#stats\">آمار</a></div>{Environment.NewLine}";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user