diff --git a/_layouts/wallet-container.html b/_layouts/wallet-container.html index 6eb2d5a6..2fe7058c 100644 --- a/_layouts/wallet-container.html +++ b/_layouts/wallet-container.html @@ -23,24 +23,24 @@ max_wallet_text_length: 418 ## Unicode characters {% assign features = page.os.features | split: " " %}
- {% for feature in features %} + {% for featureName in features %}
checked

- {% translate wizard-feature-{{feature}} choose-your-wallet %} + {% translate wizard-feature-{{featureName}} choose-your-wallet %}

- information + information
-
-
×
+
+
×
- {% translate wizard-feature-{{feature}} choose-your-wallet %}: + {% translate wizard-feature-{{featureName}} choose-your-wallet %}:
- {% translate wizard-feature-{{feature}}-description choose-your-wallet %} + {% translate wizard-feature-{{featureName}}-description choose-your-wallet %}
@@ -275,13 +275,15 @@ max_wallet_text_length: 418 ## Unicode characters }); function showModal(feature) { + var tooltip = document.getElementById(feature); tooltipsOverlay.style.display = "block"; - feature.style.display = "block"; + tooltip.style.display = "block"; } function closeModal(feature) { + var tooltip = document.getElementById(feature); tooltipsOverlay.style.display = "none"; - feature.style.display = "none"; + tooltip.style.display = "none"; } function selectRelevantTab(os) { diff --git a/_sass/_wallets.scss b/_sass/_wallets.scss index 78e0874c..7c5033e7 100644 --- a/_sass/_wallets.scss +++ b/_sass/_wallets.scss @@ -240,7 +240,7 @@ $scores: good $black 600, pass $black 600, neutral $black 600, fail $black 600; .features-element { display: flex; padding: 15px 0; - margin-left: 50px; + margin-left: 40px; } .feature-header { border-top: 1px solid #DADADA;