Article sidebar: neutralize offcanvas on desktop (visible, sticky) with explicit rules; asset v29

This commit is contained in:
2026-10-08 01:57:43 +03:00
parent b216501528
commit c1df88df21
9 changed files with 28 additions and 21 deletions

View File

@@ -648,7 +648,14 @@ th.th-filterable { padding-bottom: 0.35rem; }
/* Чтение материалов: контент + боковое содержание */
@media (min-width: 992px) {
.learn-side.offcanvas { position: sticky; top: 4.5rem; max-height: calc(100vh - 5.5rem); overflow: auto; }
/* на десктопе панель — обычный закреплённый блок, а не offcanvas */
.learn-side.offcanvas {
position: sticky; top: 4.5rem; max-height: calc(100vh - 5.5rem); overflow: auto;
transform: none !important; visibility: visible !important;
background: transparent; border: 0; width: auto;
}
.learn-side.offcanvas .offcanvas-header { display: none; }
.learn-side.offcanvas .offcanvas-body { padding: 0; overflow: visible; }
}
.learn-side { font-size: 0.875rem; }
.side-chapter { font-weight: 600; margin: 0.6rem 0 0.2rem; }