Skip to content

Commit

Permalink
Merge pull request #7491 from fjordllc/bug/dashboard-label-attribute-…
Browse files Browse the repository at this point in the history
…issue

フォームフィールドに関連付けられていないlabelタグをdivへ変更
  • Loading branch information
komagata authored Mar 9, 2024
2 parents e59dacf + eb0151a commit 8743798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/javascript/components/NotificationsBell/BellButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function BellButton({ setShowNotifications }) {
}

return (
<label
<div
onClick={() => setShowNotifications(true)}
className="header-links__link test-show-notifications">
<div className="header-links__link test-bell">
Expand All @@ -33,6 +33,6 @@ export default function BellButton({ setShowNotifications }) {
<div className="header-links__link-label">通知</div>
</div>
</div>
</label>
</div>
)
}
2 changes: 1 addition & 1 deletion app/views/home/_bookmarks.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
h2.card-header__title
| 最新のブックマーク
.card-header__action
label.a-form-label.is-sm.is-inline
.a-form-label.is-sm.is-inline
| 編集
label.a-on-off-checkbox.is-sm.spec-bookmark-edit
input#bookmark_edit(type='checkbox')
Expand Down

0 comments on commit 8743798

Please sign in to comment.