Commit 19ea9703 by xcoder

Another small fix for translate Part2

1 parent 15d1fc91
...@@ -263,6 +263,7 @@ function setOriented(position) { ...@@ -263,6 +263,7 @@ function setOriented(position) {
const main = document.querySelector(".main"); const main = document.querySelector(".main");
const header = document.querySelector("header"); const header = document.querySelector("header");
const mobileСrossWrapper = document.querySelector(".mobile-cross-wrapper"); const mobileСrossWrapper = document.querySelector(".mobile-cross-wrapper");
const cardBcgOne = document.querySelector(".card.bcg-one");
if (main != null) { if (main != null) {
main.classList.add("oriented"); main.classList.add("oriented");
...@@ -275,11 +276,16 @@ function setOriented(position) { ...@@ -275,11 +276,16 @@ function setOriented(position) {
if (mobileСrossWrapper != null) { if (mobileСrossWrapper != null) {
mobileСrossWrapper.classList.add("oriented"); mobileСrossWrapper.classList.add("oriented");
} }
if (cardBcgOne != null) {
cardBcgOne.classList.add("oriented");
}
} }
else { else {
const main = document.querySelector(".main"); const main = document.querySelector(".main");
const header = document.querySelector("header"); const header = document.querySelector("header");
const mobileСrossWrapper = document.querySelector(".mobile-cross-wrapper"); const mobileСrossWrapper = document.querySelector(".mobile-cross-wrapper");
const cardBcgOne = document.querySelector(".card.bcg-one");
if (main != null) { if (main != null) {
main.classList.remove("oriented"); main.classList.remove("oriented");
...@@ -292,6 +298,10 @@ function setOriented(position) { ...@@ -292,6 +298,10 @@ function setOriented(position) {
if (mobileСrossWrapper != null) { if (mobileСrossWrapper != null) {
mobileСrossWrapper.classList.remove("oriented"); mobileСrossWrapper.classList.remove("oriented");
} }
if (cardBcgOne != null) {
cardBcgOne.classList.remove("oriented");
}
} }
} }
......
...@@ -67,7 +67,7 @@ const langDict = { ...@@ -67,7 +67,7 @@ const langDict = {
}, },
"vpn-service": { "vpn-service": {
"ru": "VPN-сервис", "ru": "VPN-сервис",
"en": "VP-service", "en": "VPN-service",
}, },
"fast": { "fast": {
"ru": "быстрый и безопасный", "ru": "быстрый и безопасный",
......
...@@ -1069,6 +1069,10 @@ article.notation-one { ...@@ -1069,6 +1069,10 @@ article.notation-one {
padding: 14px 0 0 14px; padding: 14px 0 0 14px;
} }
.main.oriented > .main-first > .card.bcg-one.oriented {
display: none;
}
.main.oriented > .main-first > .card.bcg-one > .card.descr > .descr-top { .main.oriented > .main-first > .card.bcg-one > .card.descr > .descr-top {
padding: 0px 0 8px 0; padding: 0px 0 8px 0;
} }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!