diff --git a/client/components/action_entry/action_entry.css b/client/components/action_entry/action_entry.css index 2b0b060..28978d6 100644 --- a/client/components/action_entry/action_entry.css +++ b/client/components/action_entry/action_entry.css @@ -6,9 +6,11 @@ } .action-entry-title{ - text-align: center; + text-align: left; vertical-align: middle; line-height: 28px; + width: 100%; + cursor: pointer; } .action-entry-arrow{ diff --git a/client/components/action_entry/action_entry.js b/client/components/action_entry/action_entry.js index 39303ec..3810ff8 100644 --- a/client/components/action_entry/action_entry.js +++ b/client/components/action_entry/action_entry.js @@ -13,6 +13,7 @@ class ActionEntry extends HTMLElement{ connectedCallback(){ this.render(); + this.getElementsByClassName("action-entry-title")[0].onclick = () => {this.performActionCallback();}; this.getElementsByTagName("img")[0].onclick = () => {this.performActionCallback();}; }