fix(admin): 詳細画面の戻るボタンのスタイルを揃える (#1106 レビュー)#1116
Merged
smalruby3-editor-bot[bot] merged 2 commits intoJul 26, 2026
Merged
Conversation
みんなの課題/バグ報告/クラス・課題/期限切れ復元の各詳細画面の 「← 一覧に戻る」が class 無しの素の button で、既定ブラウザ表示のまま 浮いていた。共通の .admin-back-button (白背景・1px枠・角丸=アクション ボタンと同じ見た目) を追加し、6 箇所すべてに適用。 人間レビュー指摘 (Admin > みんなの課題詳細) への対応。同じ素ボタンが 他ビューにも全部あったので一括で揃えた。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
人間レビュー指摘 2 点: - 前コミットの .admin-back-button に font: inherit を付けたため UA 既定 (13.3px) より大きくなり他ボタンより一回り大きく見えていた。 .admin-actions button とセレクタを統合し font 未指定=UA 既定に揃えた (実測: 両者 font 13.33px / padding 6.4×14.4 / 高さ 32.8px で一致) - みんなの課題詳細で限定公開項目の authorName/schoolLevel/subject 等が 'undefined' と表示されていた。限定公開 (#1109) はこれらを省略できる ため欠損ではなく未入力。orUnspecified で undefined→「未指定」に フォールバック (詳細のクレジット行・属性行・一覧の投稿者) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
🚀 Preview deployed: https://smalruby.jp/smalruby3-editor/fix/admin-back-button-style/ |
smalruby3-editor-bot
Bot
merged commit Jul 26, 2026
5344302
into
topic/classroom-notification-center
9 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
人間レビュー指摘(Admin > みんなの課題 > 詳細)への対応。「← 一覧に戻る」ボタンが class 無しの素の
<button>で、既定ブラウザ表示のまま他のボタン(タブ・アクション)から浮いていた。Changes
.admin-back-button(白背景・1px 枠・角丸・padding = アクションボタンと同じ)をapp.cssに追加Test
1px solid/radius 6.4px/bg white)Refs #1106(レビュー指摘)
🤖 Generated with Claude Code