Skip to content

Commit

Permalink
iframe height adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Sep 9, 2024
1 parent cb337a9 commit f461e64
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions release-dashboard/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ metrics_height_mobile: 6000
width: 100%;
border: none;
}
@media only screen and (min-width: 768px) {
iframe {
height: {{ page.benchmark_height_desktop }}px;
}
}
@media only screen and (max-width: 767px) {
iframe {
height: {{ page.benchmark_height_mobile }}px;
}
}
.modal {
display: none;
position: fixed;
Expand Down Expand Up @@ -183,7 +173,7 @@ metrics_height_mobile: 6000
<div id="metrics-dashboard" class="dashboard-container">
<h1 onclick="openModal('modal1')">OpenSearch Release Metrics</h1>
<a id="metrics-dashboard-link" href="#" target="_blank" class="button">Direct Link to Metrics Dashboard</a>
<iframe id="metrics-iframe" width="100%" height="{{ page.metrics_height_desktop }}"></iframe>
<iframe id="metrics-iframe" width="100%" height="1300"></iframe>
</div>

<div id="component-metrics-dashboard" class="dashboard-container">
Expand Down

0 comments on commit f461e64

Please sign in to comment.