Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

デフォルトスキンのAAポップアップ表示に関する不具合修正 #353

Merged
merged 5 commits into from
Feb 18, 2016
Merged

Conversation

masal64
Copy link
Contributor

@masal64 masal64 commented Jan 7, 2016

2ch.netのchaikaスレに、デフォルトスキンのAAポップアップ表示に関する不具合修正パッチが
上げられていたので、それを元にさらに自分で改良したものです。
ひととおりテスト済みです。どれも細かな修正ですが、どんなものでしょうか。

1b42bac の修正が実際には効いていませんでした
通常のレスとポップアップ両方に適用するようにして、記述自体を適切な位置へ移動しました
83d3640 をチェックアウトして出力されるhtmlを調べたところ、aaRes は popupInner の
直子要素ではありませんでした。その時から正しく表示できていなかったものと思われます。
AAレスポップアップの表示を white-space:pre にしたことで、
縦スクロールバーが現れる時はいつも横スクロールバーも一緒に現れるようになった。
縦スクロールバーが出るとその分の横幅が狭まって内容が収まりきらなくなり
横スクロールバーも出るということなので、縦スクロールバーが現れる領域に内容領域が
かからないように、スクロールバーの幅相当分として padding-right:18px に固定した。
実測では Windows で 17px 、GNOME で 14px だったが、これでOKではないかと。
AAが折り返しで崩れて表示されるよりは、横スクロールバーが現れる方が望ましい動作でしょう
巨大なAAをポップアップで表示したとき、表示領域がちょっと窮屈な感じがしたので、
少しだけ拡げてみました。もっと広くても良いかもしれない。
@nodaguti
Copy link
Contributor

普段 AA が多く投稿されるスレをあまり見ないもので,修正助かります.
ありがとうございました.

nodaguti added a commit that referenced this pull request Feb 18, 2016
デフォルトスキンのAAポップアップ表示に関する不具合修正
@nodaguti nodaguti merged commit 3d6b961 into chaika:develop Feb 18, 2016
@masal64 masal64 deleted the defskin-aapop branch February 18, 2016 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants