Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Outer border disappears when hiding outer columns in an s-table__bx table

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

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

評価

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

調査の方向性

ソースファイルもテストも指定されていません。まず、提供されたテーブルマークアップと sm:d-none のレスポンシブな動作を再現し、その後 .s-table__bx のスタイルとボーダーユーティリティクラスを特定してください。小さいブレークポイントで最初または最後の列を非表示にしたときに、対応する外側のボーダーが表示されたままになれば完了です。

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

説明

Describe the bug
Hiding the first or the last column in a table with only horizontal borders (.s-table__bx) via sm:d-none results in the outer border of the table going AWOL on the corresponding side.

To Reproduce
Markup:

<table class="s-table s-table__bx">
      <thead>
          <tr>
              <th scope="col" class="sm:d-none">Something</th>
              <th scope="col">Another</th>
              <th scope="col">Thing</th>
              <th scope="col">Testing</th>
          </tr>
      </thead>
      <tbody>
          <tr>
              <td class="sm:d-none">Hello</td>
              <td>Goodbye</td>
              <td>Maybe</td>
              <td>Wat</td>
          </tr>
      </tbody>
</table>

Toss that into a CodePen or similar, and then resize the window down.

Expected behavior
The outer table border should not disappear.

Screenshots
Before resizing:
image

After resizing:
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version 75.0.3770.142

Additional context
The workaround is to add the sm:bl bc-black-3 brw0 classes to the second column of the table (blw0 for the penultimate column).

主要言語
TypeScript
スター
672
フォーク
107
平均マージ
2日 12時間
マージ済み PR(30日)
26

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

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

はじめの一歩

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

StackExchange/Stacks のほかの issue

StackExchange/Stacks の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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