Article sidebar: neutralize offcanvas on desktop (visible, sticky) with explicit rules; asset v29
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user