javascript-tutorial / javascript-tutorial/en.javascript.info

Bring comments into a scrollable section

未關閉
#3,803 1 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
HTML
星號
25.5k
分支
4k
PR 合併指標
30 天內沒有已合併 PR

描述

Some articles, like the old "var," may not be very attractive to read. We just know that 'var' should not be used, rather than reading a lot about it. However, one may intend to read it, especially when an interview is coming up.

Jumping into the article for the first time can feel overwhelming; it appears to be a long read because of the lengthy scrollbar.

![Image](https://github.com/user-attachments/assets/fb7ac654-40e7-4f34-a00c-dd1cec04c79a)

But actually it ends half way and the rest half of it are just comments.

![Image](https://github.com/user-attachments/assets/3e2269ad-4307-42ce-a334-56ea7cf4d89c)

The feature request is to place the comments in a scrollable section so that the page's scrollbar accurately reflects the length of the article.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先檢查文章頁面的版面配置和留言呈現,然後重現舊版 "var" 文章中的長捲軸。完成的條件是留言佔據自己的可捲動區段,而頁面捲軸反映文章內容,而不是完整的留言清單。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
html
領域
frontend
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。