Outer border disappears when hiding outer columns in an s-table__bx table
まだ誰も着手していません。
評価
調査の方向性
ソースファイルもテストも指定されていません。まず、提供されたテーブルマークアップと 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:

After resizing:

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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
StackExchange/Stacks のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
StackExchange/Stacks#1030 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
StackExchange/Stacks#1842 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
StackExchange/Stacks#1413 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
StackExchange/Stacks#1242 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
StackExchange/Stacks#1224 ·
StackExchange/Stacks の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100