diff --git a/frontend/src/components/TableOfContents.tsx b/frontend/src/components/TableOfContents.tsx
index b5973a1..a1dee53 100644
--- a/frontend/src/components/TableOfContents.tsx
+++ b/frontend/src/components/TableOfContents.tsx
@@ -110,7 +110,7 @@ export function TableOfContents({ items, title = 'فهرست مطالب', classN
{/* ارتفاع فهرست به ارتفاع در دسترس صفحه (زیر نوار چسبان) محدود میشود تا بریده نشود */}
-
+
{items.map((item) => {
const isActive = item.id === activeId
return (
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 56b144a..72b42a7 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -256,6 +256,15 @@ html[lang='en'] .article-body h3 {
border: 1px solid rgba(245, 243, 239, 0.1);
object-fit: cover;
}
+/* فهرست مطالب: اسکرول بدون نوار اسکرول — چرخ ماوس و لمس کار میکنند */
+.no-scrollbar {
+ scrollbar-width: none; /* Firefox */
+ -ms-overflow-style: none; /* IE/Edge legacy */
+}
+.no-scrollbar::-webkit-scrollbar {
+ display: none; /* Chrome / Safari / Edge */
+}
+
/* ---------- تصویر کپشندار:
---------- */
.article-body figure {
margin-top: 2rem;
diff --git a/frontend/src/pages/ArticleDetail.tsx b/frontend/src/pages/ArticleDetail.tsx
index 543489f..f4d9e6a 100644
--- a/frontend/src/pages/ArticleDetail.tsx
+++ b/frontend/src/pages/ArticleDetail.tsx
@@ -92,7 +92,7 @@ export function ArticleDetail() {
*/
const hasToc = toc.length > 0;
// در چیدمان راستبهچپ ستون شماره ۱ سمت راست است؛ پس ستونها صریح شماره میخورند
- const gridColumns = hasToc ? 'lg:grid-cols-[17rem_minmax(0,1fr)]' : '';
+ const gridColumns = hasToc ? 'lg:grid-cols-[21rem_minmax(0,1fr)]' : '';
const bodyColumns = 'lg:col-start-2';
const tocColumns = 'lg:col-start-1';