Skip to content

Commit

Permalink
Merge pull request opensearch-project#3278 from prudhvigodithi/main
Browse files Browse the repository at this point in the history
Central release dashboard Iframe height adjustments
  • Loading branch information
peterzhuamazon authored Sep 9, 2024
2 parents cb337a9 + f461e64 commit 9d21c12
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 9d21c12

Please sign in to comment.