From c88147979abdeb605f761319967e0fd4a949fe0b Mon Sep 17 00:00:00 2001 From: lewa <lene.wasskog@nibio.no> Date: Tue, 27 Aug 2024 08:28:58 +0200 Subject: [PATCH] style: Fix close button styling --- src/main/webapp/css/mapModal.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/main/webapp/css/mapModal.css b/src/main/webapp/css/mapModal.css index 66a5bfee..014c138e 100644 --- a/src/main/webapp/css/mapModal.css +++ b/src/main/webapp/css/mapModal.css @@ -43,6 +43,22 @@ font-size: 0.9rem; /* Make font-size of popup larger */ } +.close-button { + position: absolute; + top: 10px; + right: 15px; + font-size: 40px; + color: white; + background-color: transparent; + border: none; + cursor: pointer; + z-index: 1500; +} + +.close-button:hover { + color: #ddd; +} + #pointForm { z-index: 1200; position: absolute; -- GitLab