Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix scalers not shown on landing page #1319

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/partials/javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
() => {
"use strict";
const hash = (window.location.hash).slice(1);
const cardContents = document.querySelectorAll(".card-content");
const cardContents = document.querySelectorAll(".card-content-dropdown");
cardContents.forEach((item) => {
const id = item.getAttribute("id");
if (hash === id) {
Expand Down
14 changes: 7 additions & 7 deletions layouts/shortcodes/faq20.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h2 id="general">General</h2>
</p>
<button class="copyBtn" id="{{ $id }}"><i class="fas fa-link" style="color: #0c0d0d;"></i></button>
</header>
<div class="card-content" x-show="open" id="{{ $id }}">
<div class="card-content card-content-dropdown" x-show="open" id="{{ $id }}">
<div class="content is-medium has-text-grey-dark">
{{ $answer }}
</div>
Expand All @@ -34,7 +34,7 @@ <h2 id="best-practices">Best Practices</h2>
</p>
<button class="copyBtn" id="{{ $id }}"><i class="fas fa-link" style="color: #0c0d0d;"></i></button>
</header>
<div class="card-content" x-show="open" id="{{ $id }}">
<div class="card-content card-content-dropdown" x-show="open" id="{{ $id }}">
<div class="content is-medium has-text-grey-dark">
{{ $answer }}
</div>
Expand All @@ -55,7 +55,7 @@ <h2 id="features">Features</h2>
</p>
<button class="copyBtn" id="{{ $id }}"><i class="fas fa-link" style="color: #0c0d0d;"></i></button>
</header>
<div class="card-content" x-show="open" id="{{ $id }}">
<div class="card-content card-content-dropdown" x-show="open" id="{{ $id }}">
<div class="content is-medium has-text-grey-dark">
{{ $answer }}
</div>
Expand All @@ -76,7 +76,7 @@ <h2 id="kubernetes">Kubernetes</h2>
</p>
<button class="copyBtn" id="{{ $id }}"><i class="fas fa-link" style="color: #0c0d0d;"></i></button>
</header>
<div class="card-content" x-show="open" id="{{ $id }}">
<div class="card-content card-content-dropdown" x-show="open" id="{{ $id }}">
<div class="content is-medium has-text-grey-dark">
{{ $answer }}
</div>
Expand All @@ -97,7 +97,7 @@ <h2 id="community">Community</h2>
</p>
<button class="copyBtn" id="{{ $id }}"><i class="fas fa-link" style="color: #0c0d0d;"></i></button>
</header>
<div class="card-content" x-show="open" id="{{ $id }}">
<div class="card-content card-content-dropdown" x-show="open" id="{{ $id }}">
<div class="content is-medium has-text-grey-dark">
{{ $answer }}
</div>
Expand All @@ -118,7 +118,7 @@ <h2 id="website">Website</h2>
</p>
<button class="copyBtn" id="{{ $id }}"><i class="fas fa-link" style="color: #0c0d0d;"></i></button>
</header>
<div class="card-content" x-show="open" id="{{ $id }}">
<div class="card-content card-content-dropdown" x-show="open" id="{{ $id }}">
<div class="content is-medium has-text-grey-dark">
{{ $answer }}
</div>
Expand All @@ -141,7 +141,7 @@ <h3>Microsoft Azure</h3>
</p>
<button class="copyBtn" id="{{ $id }}"><i class="fas fa-link" style="color: #0c0d0d;"></i></button>
</header>
<div class="card-content" x-show="open" id="{{ $id }}">
<div class="card-content card-content-dropdown" x-show="open" id="{{ $id }}">
<div class="content is-medium has-text-grey-dark">
{{ $answer }}
</div>
Expand Down
Loading