diff --git a/frontend/components/molecules/EntityItem.vue b/frontend/components/molecules/EntityItem.vue index 23ceff7e..360c7bd4 100644 --- a/frontend/components/molecules/EntityItem.vue +++ b/frontend/components/molecules/EntityItem.vue @@ -1,6 +1,6 @@ @@ -32,6 +32,9 @@ export default { methods: { open() { alert('hello') + }, + remove() { + alert('remove') } } } @@ -60,6 +63,15 @@ export default { line-height: 22px; display: flex; } +.highlight .delete { + top:-15px; + left:-13px; + position:absolute; + display: none; +} +.highlight:hover .delete { + display: block; +} .highlight__content { display: flex; flex-wrap: wrap; @@ -86,5 +98,9 @@ export default { } .highlight__label::after { content: attr(data-label); + display: block; + font-size: 14px; + -webkit-font-smoothing: subpixel-antialiased; + letter-spacing: .1em; }