-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Merge branch 'master' into fix-one.1""
This reverts commit f31f7f8.
- Loading branch information
1 parent
f31f7f8
commit 2d16a77
Showing
47 changed files
with
1,254 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<div class="viewall"> | ||
<button class="viewallbtn">View All</button> | ||
</div> | ||
|
||
<script> | ||
var cardRow = document.querySelector('.row'); | ||
var viewAllButton = document.querySelector('.viewallbtn'); | ||
|
||
function toggleViewAllButton() { | ||
if (cardRow.offsetHeight > 1135) { | ||
viewAllButton.style.display = 'block'; | ||
} else { | ||
viewAllButton.style.display = 'none'; | ||
} | ||
} | ||
|
||
toggleViewAllButton(); | ||
|
||
|
||
viewAllButton.addEventListener('click', function () { | ||
cardRow.style.maxHeight = 'none'; | ||
cardRow.style.overflow = 'visible'; | ||
viewAllButton.style.display = 'none'; | ||
}); | ||
|
||
window.addEventListener('load', function () { | ||
cardRow.style.maxHeight = '1135px'; | ||
cardRow.style.overflow = 'hidden'; | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ <h3>Pattern Management</h3> | |
</div> | ||
{% include card-modal.html %} | ||
<!-- CARD-END --> | ||
{% include view-all.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
assets/images/posts/2020-05-21-meshmark-explained/container-crane.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...ts/images/posts/2020-05-21-meshmark-explained/distributed-performance_green.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.