diff --git a/OsmAnd/assets/article_style.css b/OsmAnd/assets/article_style.css index 0f1fe9df41..535f2ab86c 100755 --- a/OsmAnd/assets/article_style.css +++ b/OsmAnd/assets/article_style.css @@ -47,6 +47,7 @@ h2 { margin-top: 3%; margin-bottom: 3%; font-weight: normal; + line-height: 1.6em; } h2.active:after { @@ -61,7 +62,7 @@ h2:after { content: ""; border: solid black; border-width: 0 3px 3px 0; - margin-top: 20px; + margin-top: 10px; display: inline-block; padding: 3px; transform: rotate(45deg); @@ -70,14 +71,21 @@ h2:after { right: 1em; } +/* +.mw-headline { + +} +*/ + h3 { color: #212121; font-size: 1.2em; font-family: sans-serif; word-wrap: break-word; - font-weight: normal; + font-weight: bold; margin-top: 3%; margin-bottom: 3%; + line-height: 1.6em; } p { @@ -105,12 +113,6 @@ li { font-size: 1.1em; } -.mw-headline { - font-family: sans-serif; - font-size: 1.1em; - line-height: 1.6em; - font-weight: bold; -} img { width: 100%; diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java index 1e82e70d7d..0f63e0c975 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java @@ -63,6 +63,7 @@ public class WikivoyageWebViewClient extends WebViewClient { private void warnAboutExternalLoad(final String url) { AlertDialog.Builder builder = new AlertDialog.Builder(mContext); + builder.setTitle(url); builder.setMessage(R.string.online_webpage_warning); builder.setPositiveButton(R.string.shared_string_ok, new DialogInterface.OnClickListener() { @Override diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java index d41210854e..30e700ee7f 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleDialogFragment.java @@ -327,7 +327,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen return; } if(article.getGpxFile() != null) { - trackButton.setText(trackButton.getText() + " (" + article.getGpxFile().getPointsSize() +")"); + trackButton.setText(getString(R.string.points) + " (" + article.getGpxFile().getPointsSize() +")"); } WikivoyageLocalDataHelper ldh = getMyApplication().getWikivoyageDbHelper().getLocalDataHelper();