Skip to content

Commit

Permalink
chore: Fix scalers not shown on landing page (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisobate authored Feb 16, 2024
1 parent 2562d91 commit c561075
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
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

0 comments on commit c561075

Please sign in to comment.