matplotlib / matplotlib/mpl-sphinx-theme

Navbar styling on small screens

オープン
#90 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
6
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

説明

The icons and version switcher are cluttered:

![grafik](https://github.com/matplotlib/mpl-sphinx-theme/assets/2836374/7608b00e-8090-488c-aeb9-f04a1062a88b)

Suggested changes:

- Remove bottom margin from version switcher:
![grafik](https://github.com/matplotlib/mpl-sphinx-theme/assets/2836374/fbe5392f-7b27-4817-bb52-2eaaf2627957)

![grafik](https://github.com/matplotlib/mpl-sphinx-theme/assets/2836374/5bc3014d-e983-45bf-887a-d38d81a5b772)

I believe this is necessary only in our theme, because `pydata-sphinx-theme` places the switcher differently. In our theme, it's bound together with the dark-mode switch.

- Optionally, let the link icons wrap:
![grafik](https://github.com/matplotlib/mpl-sphinx-theme/assets/2836374/5758a247-5027-4551-9899-91758e919b81)

![grafik](https://github.com/matplotlib/mpl-sphinx-theme/assets/2836374/e13f5f58-0b9a-4d69-b1ce-7597394bbc8b)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ファイル、テスト、エントリーポイントのいずれも指定されていません。まずテーマの navbar と version-switcher のスタイリングを見つけ、次に issue の画像に示されている小さい画面での乱雑なレイアウトを再現してください。switcher に不要な下マージンがなくなり、狭い画面でリンクアイコンが許容できる形で折り返されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
design, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。