From 80f2dc511fcf7997ecf7d4a8878d98e4134ca5ed Mon Sep 17 00:00:00 2001 From: Ahmet ilhan Date: Thu, 2 Mar 2023 00:38:07 +0300 Subject: [PATCH] detail icon clickable area improved --- components/earthquake-list-item.vue | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/components/earthquake-list-item.vue b/components/earthquake-list-item.vue index 37f2341..bb8391d 100644 --- a/components/earthquake-list-item.vue +++ b/components/earthquake-list-item.vue @@ -85,12 +85,13 @@ :active-earthquake="data" /> - Detail modal icon + > + Detail modal icon + @@ -255,13 +256,23 @@ const closeEarthquakeDetailModalHandler = () => { } &__detail-icon { position: absolute; - right: 8px; - top: 8px; - width: 30px; + right: 0; + top: 0; cursor: pointer; z-index: 1; + width: 50px; + height: 50px; + align-items: flex-end; + padding-right: 15px; @include small-device { - width: 20px; + padding-right: 10px; + height: 40px; + } + img { + width: 30px; + @include small-device { + width: 20px; + } } } .chart-detail-modal {