From cc8105b7f650b4478ff168bb7197b7ed0a5605b4 Mon Sep 17 00:00:00 2001 From: Dmitriy Prodchenko Date: Wed, 2 May 2018 18:51:45 +0300 Subject: [PATCH] CSS: change nav-bar height, add additional space before and after typography bullet symbol --- OsmAnd/assets/article_style.css | 14 +++++++++----- .../article/WikivoyageArticleDialogFragment.java | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/OsmAnd/assets/article_style.css b/OsmAnd/assets/article_style.css index e90c0ac592..c9a648e35f 100755 --- a/OsmAnd/assets/article_style.css +++ b/OsmAnd/assets/article_style.css @@ -48,7 +48,11 @@ body { .content { display: none; - /* overflow: hidden; */ + overflow: hidden; + /* + padding-left: 7%; + padding-right: 7%; + */ } .nightmode { @@ -62,8 +66,8 @@ body { background-color: var(--topbar-bg-color-day); padding-left: 16px; padding-right: 16px; - padding-top: 8px; - padding-bottom: 8px; + padding-top: 12px; + padding-bottom: 12px; font-size: var(--main-text-font-size); font-weight: normal; line-height: var(--main-text-line-height); @@ -86,8 +90,8 @@ body { word-wrap: break-word; padding-left: 16px; padding-right: 16px; - padding-top: 8px; - padding-bottom: 8px; + padding-top: 12px; + padding-bottom: 12px; font-weight: normal; line-height: var(--main-text-line-height); } diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java index 42588f0692..0e25eee1a5 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java @@ -416,7 +416,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen if (aggregatedPartOfArrayOrig.length > 0) { for (int i = 0; i < aggregatedPartOfArrayOrig.length ; i++) { if (i > 0) { - sb.append(" • ").append(aggregatedPartOfArrayOrig[i]); + sb.append(" • ").append(aggregatedPartOfArrayOrig[i]); } else { if (!TextUtils.isEmpty(current)) { sb.append("").append(current).append("");