Commit 19ea9703 by xcoder

Another small fix for translate Part2

1 parent 15d1fc91
......@@ -263,6 +263,7 @@ function setOriented(position) {
const main = document.querySelector(".main");
const header = document.querySelector("header");
const mobileСrossWrapper = document.querySelector(".mobile-cross-wrapper");
const cardBcgOne = document.querySelector(".card.bcg-one");
if (main != null) {
main.classList.add("oriented");
......@@ -275,11 +276,16 @@ function setOriented(position) {
if (mobileСrossWrapper != null) {
mobileСrossWrapper.classList.add("oriented");
}
if (cardBcgOne != null) {
cardBcgOne.classList.add("oriented");
}
}
else {
const main = document.querySelector(".main");
const header = document.querySelector("header");
const mobileСrossWrapper = document.querySelector(".mobile-cross-wrapper");
const cardBcgOne = document.querySelector(".card.bcg-one");
if (main != null) {
main.classList.remove("oriented");
......@@ -292,6 +298,10 @@ function setOriented(position) {
if (mobileСrossWrapper != null) {
mobileСrossWrapper.classList.remove("oriented");
}
if (cardBcgOne != null) {
cardBcgOne.classList.remove("oriented");
}
}
}
......
......@@ -67,7 +67,7 @@ const langDict = {
},
"vpn-service": {
"ru": "VPN-сервис",
"en": "VP-service",
"en": "VPN-service",
},
"fast": {
"ru": "быстрый и безопасный",
......
......@@ -1069,6 +1069,10 @@ article.notation-one {
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 {
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!