From a3c971038b712c77633d0e6b396f2264f4098a10 Mon Sep 17 00:00:00 2001 From: Ilya Zarembsky Date: Thu, 20 Jun 2019 18:36:46 -0400 Subject: [PATCH 1/2] Shorten Cliqz feature name Russian translations. Adjust line height for feature name element to shift it up --- _locales/ru/messages.json | 4 ++-- app/scss/partials/_cliqz_feature.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 0c6bf665e..15dbe3bef 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -1120,7 +1120,7 @@ "message": "Найдено" }, "drawer_title_enable_anti_tracking": { - "message": "Улучшенный анти-трекинг" + "message": "Супер анти-трекинг" }, "drawer_tooltip_enable_anti_tracking": { "message": "Анонимизировать разблокированные и неизвестные трекеры для обеспечения большей защиты браузера. На рисунке показано, сколько измерительных точек было удалено на сайте." @@ -1135,7 +1135,7 @@ "message": "Анти-трекинг -" }, "drawer_title_enable_ad_block": { - "message": "Усовершенствованная блокировка рекламы" + "message": "Рекламоблокер++" }, "drawer_tooltip_enable_ad_block": { "message": "Выполняет блокировку рекламы на сайтах, которые вы посещаете." diff --git a/app/scss/partials/_cliqz_feature.scss b/app/scss/partials/_cliqz_feature.scss index 525312a59..abb5e7c2a 100644 --- a/app/scss/partials/_cliqz_feature.scss +++ b/app/scss/partials/_cliqz_feature.scss @@ -38,7 +38,7 @@ $cliqz-feature--darker-gray: #a4a4a4; .CliqzFeature__feature-name { text-align: center; font-size: 11px; - line-height: 26px; + line-height: 16px; font-weight: 600; transition: color 0.25s ease-out; From f00295a87b859a2b7362d334d56e61a7a3338fad Mon Sep 17 00:00:00 2001 From: ilyazarembsky Date: Thu, 20 Jun 2019 23:41:09 -0400 Subject: [PATCH 2/2] Adjust summary view container spacing so it looks ok whether page stats take up one or two lines --- app/scss/partials/_cliqz_feature.scss | 2 +- app/scss/partials/_summary.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scss/partials/_cliqz_feature.scss b/app/scss/partials/_cliqz_feature.scss index abb5e7c2a..5379840d0 100644 --- a/app/scss/partials/_cliqz_feature.scss +++ b/app/scss/partials/_cliqz_feature.scss @@ -38,7 +38,7 @@ $cliqz-feature--darker-gray: #a4a4a4; .CliqzFeature__feature-name { text-align: center; font-size: 11px; - line-height: 16px; + line-height: 21px; font-weight: 600; transition: color 0.25s ease-out; diff --git a/app/scss/partials/_summary.scss b/app/scss/partials/_summary.scss index 1fd7459f5..91f1e7619 100644 --- a/app/scss/partials/_summary.scss +++ b/app/scss/partials/_summary.scss @@ -72,7 +72,7 @@ } .Summary__pageStatsContainer { - margin-bottom: 40px; + margin-bottom: 30px; } .Summary__pageStatContainer {