diff --git a/assets/css/inputs.css b/assets/css/inputs.css index ec65463..91a2718 100644 --- a/assets/css/inputs.css +++ b/assets/css/inputs.css @@ -22,6 +22,12 @@ font-size: 1rem; font-weight: bold; + &:hover { + cursor: pointer; + background: var(--primary); + color: var(--text-light); + } + &:focus { outline: none; } diff --git a/assets/css/style.css b/assets/css/style.css index 2a5ddb1..a622add 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -3,6 +3,7 @@ @import 'inputs'; @import 'forms'; @import 'markdown'; +@import 'tooltip'; html, body, diff --git a/assets/css/tooltip.css b/assets/css/tooltip.css new file mode 100644 index 0000000..1a7abe2 --- /dev/null +++ b/assets/css/tooltip.css @@ -0,0 +1,6 @@ +.tooltip {} + +.menu-item { + display: block; + padding: .5rem; +} diff --git a/assets/js/api.js b/assets/js/api.js index e7e8d7c..69893d9 100644 --- a/assets/js/api.js +++ b/assets/js/api.js @@ -90,4 +90,5 @@ export { post, patch, del, + del as delete, }; diff --git a/components/comments/writer.vue b/components/comments/writer.vue index a0b57fb..e76edb2 100644 --- a/components/comments/writer.vue +++ b/components/comments/writer.vue @@ -4,7 +4,7 @@ @submit.prevent="addComment" >