Page title bar overflows and has odd sizing behavior on small and/or zoomed screens
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- css, html, javascript
調査の方向性
リンク先の classroom assignment を開き、小さい viewport とズームした viewport で、特に Safari における title-bar のオーバーフローを再現し、その後 Chrome と Firefox を比較します。title-bar のマークアップとスタイルを調査し、そのサイズとコントロールがどのように動作するかを確認します。長いタイトルがバー内に収まり、コントロールが表示されたままで、バーが出力コンテンツを覆わなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Take a look at a classroom assignment that has a longish title, on a small or zoomed-in view. The title bar stays a small size (height: 2.4vh;), while the text gets relatively larger, overflowing the header boundaries, and overlapping page content. This is especially a problem if I am zoomed in, as I usually do when presenting code to students over Zoom, because they tend to have smaller screens (often just smartphones).
This acts a little differently between Chrome and Safari. On Chrome, the vh-based sizing keeps these elements small, even when the page is zoomed-in. In Safari, these elements increase in size as the page is zoomed. But, even when a non-Safari browser is used at a normal-ish size (say, 1000px wide), problems can easily arise from medium-length titles. Here’s Firefox at 1000px wide:
To Reproduce
Enter in a medium-long page title while using popcode in a medium-small viewport – especially while using Safari.
Expected behavior
This title bar would probably make more sense if it acted more like a "tab" in a browser UI.
- Long titles would be truncated with ellipses (here’s how to do so with just CSS).
- It may be easier to do this if the refresh & collapse buttons are moved before the text, but it would probably be better to rearrange the HTML structure a bit, so that the overflow can be hidden and text can truncated, without pushing these UI buttons out of view
- Text shouldn’t overflow past the edge of the title bar, and the title bar shouldn’t cover up any content in the output web page.
Here are tabs in Chrome and Safari browsers, to illustrate what I mean:
Environment
- Mac Catalina
- Safari 13.1.1
- 主要言語
- JavaScript
- スター
- 191
- フォーク
- 143
- 平均マージ
- 4日 11時間
- マージ済み PR(30日)
- 5
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
popcodeorg/popcode のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
popcodeorg/popcode#2522 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
popcodeorg/popcode#2520 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
popcodeorg/popcode#2519 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
popcodeorg/popcode#2517 ·
-
User Feedback オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
popcodeorg/popcode#2516 ·
popcodeorg/popcode の issue をすべて見る
似ている issue
-
Edit: CW+ オープンchannels:edit check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
idean3885/claude-ops-agent#521 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100