Skip to content

Commit

Permalink
chages done
Browse files Browse the repository at this point in the history
  • Loading branch information
AfonsoMartins26 committed Aug 6, 2024
1 parent 2fb28fc commit 988f474
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
20 changes: 13 additions & 7 deletions components/Marker/style.module.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
.image {
object-fit: cover;
border-radius: 15px;
border-radius: 10px;
}

.textOverlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 2;
padding: 20px;
background: linear-gradient(
0deg,
360deg,
rgba(0, 0, 0, 0.7) 0%,
rgba(0, 0, 0, 0) 100%
rgba(255, 255, 255, 0) 55%
);
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
font-weight: 500;
font-family: Inter, sans-serif;
line-height: 1.6;
color: white;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}

.title {
margin: 0 0 10px;
font-size: 18px;
font-size: 25px;
line-height: 1.2;
}

.light {
font-size: 14px;
opacity: 0.8;
opacity: 1;
}
4 changes: 2 additions & 2 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ body {

@media (max-width: 500px) {
.leaflet-popup-content {
width: 201px !important;
height: 350px !important;
width: 391px !important;
height: 550px !important;
margin: 0 !important;
padding: 0 !important;
}
Expand Down

0 comments on commit 988f474

Please sign in to comment.