This is an automated email from the ASF dual-hosted git repository.

bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a45c9b  Fix map overflow with border radius (#20)
4a45c9b is described below

commit 4a45c9b825771581ef55d797cbe452ba6d932f2d
Author: Leonard <[email protected]>
AuthorDate: Fri Apr 28 16:53:05 2023 +0200

    Fix map overflow with border radius (#20)
---
 components/map/style.module.css | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/components/map/style.module.css b/components/map/style.module.css
index 782be91..8b00578 100644
--- a/components/map/style.module.css
+++ b/components/map/style.module.css
@@ -12,4 +12,7 @@
     border-radius: .75rem;
     width: 100%;
     height: 100%;
+    overflow: hidden;
+    /* this fixes the overflow:hidden for canvas - corresponds to 1 black 
pixel */
+    -webkit-mask-image: 
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
 }
\ No newline at end of file

Reply via email to