From b186ba4efd7c682883e3222c16ad95d2ee030f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Tue, 17 Nov 2020 19:02:13 +0800 Subject: [PATCH] reduce size of map pin and fix tingle modal problem --- app/assets/stylesheets/space-frontend.scss | 3 +++ app/assets/stylesheets/space/tingle.css | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/space-frontend.scss b/app/assets/stylesheets/space-frontend.scss index 792403c..541b037 100644 --- a/app/assets/stylesheets/space-frontend.scss +++ b/app/assets/stylesheets/space-frontend.scss @@ -14,6 +14,9 @@ .fa.fa-map-marker{ font-size: 8vw; position: relative; + @media (min-width: $screen-sm){ + font-size: 4vw !important; + } } .popup{ color: inherit !important; diff --git a/app/assets/stylesheets/space/tingle.css b/app/assets/stylesheets/space/tingle.css index 7044015..5d0cd47 100644 --- a/app/assets/stylesheets/space/tingle.css +++ b/app/assets/stylesheets/space/tingle.css @@ -181,6 +181,10 @@ float: right; } +.tingle-modal-box__content { + overflow-y: scroll; + max-height: 90vh; +} /* responsive -------------------------------------------------------------- */ @@ -199,8 +203,7 @@ } .tingle-modal-box__content { - overflow-y: scroll; - max-height: 80vh; + max-height: 80vh !important; } .tingle-modal--noClose {