Update iframes to be 20% wider and taller, center them, and ensure buttons open links in new tabs
This commit is contained in:
parent
79e2b123ab
commit
87a0528689
11
index.html
11
index.html
|
@ -28,11 +28,10 @@
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
iframe {
|
iframe {
|
||||||
flex: 1;
|
|
||||||
border: none;
|
border: none;
|
||||||
height: 55vh; /* Increase height by 10% */
|
height: 60%; /* Adjust as necessary to fit within the viewport */
|
||||||
width: 800px; /* Set fixed width */
|
width: 960px; /* Adjust as necessary to fit within the viewport */
|
||||||
max-width: 100%; /* Ensure it doesn't overflow on smaller screens */
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
.buttons {
|
.buttons {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -60,8 +59,8 @@
|
||||||
<h1>CSMS Claims and Neighbors</h1>
|
<h1>CSMS Claims and Neighbors</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-container">
|
<div class="map-container">
|
||||||
<iframe src="https://www.google.com/maps/d/embed?mid=1CH09O8Gp7sQ6H2GdybFvRdLB-1vElVc&ehbc=2E312F" style="border:none; overflow-y: hidden; background-color:white;"></iframe>
|
<iframe src="https://www.google.com/maps/d/embed?mid=1CH09O8Gp7sQ6H2GdybFvRdLB-1vElVc&ehbc=2E312F"></iframe>
|
||||||
<iframe src="https://www.gaiagps.com/public/VVXcZPvEfvAbvRWi5F0DQPNT/?embed=True" style="border:none; overflow-y: hidden; background-color:white;"></iframe>
|
<iframe src="https://www.gaiagps.com/public/VVXcZPvEfvAbvRWi5F0DQPNT/?embed=True"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button onclick="window.open('https://rebrand.ly/csmsgoogle', '_blank')">View on Google Maps</button>
|
<button onclick="window.open('https://rebrand.ly/csmsgoogle', '_blank')">View on Google Maps</button>
|
||||||
|
|
Loading…
Reference in New Issue