Skip to content

Commit 67865dc

Browse files
committed
Center popup title text and fix close button alignment
- Add text-align: center to church-popup-header (fa--4sa) - Add flex centering to close button (fa--4ua) - Fixes visual alignment issues in map popups
1 parent 8fc87d0 commit 67865dc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/pages/MapPage.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
top: 10px;
1717
z-index: 10;
1818
line-height: 1;
19+
display: flex;
20+
align-items: center;
21+
justify-content: center;
1922
}
2023

2124
.church-popup .maplibregl-popup-close-button:hover {
@@ -39,6 +42,7 @@
3942
font-size: 1rem;
4043
padding: 12px 32px 12px 12px;
4144
line-height: 1.3;
45+
text-align: center;
4246
}
4347

4448
.church-popup-body {

0 commit comments

Comments
 (0)