CSS: change nav-bar height, add additional space before and after typography bullet symbol

This commit is contained in:
Dmitriy Prodchenko 2018-05-02 18:51:45 +03:00
parent bf11e5ef0f
commit cc8105b7f6
2 changed files with 10 additions and 6 deletions

View file

@ -48,7 +48,11 @@ body {
.content { .content {
display: none; display: none;
/* overflow: hidden; */ overflow: hidden;
/*
padding-left: 7%;
padding-right: 7%;
*/
} }
.nightmode { .nightmode {
@ -62,8 +66,8 @@ body {
background-color: var(--topbar-bg-color-day); background-color: var(--topbar-bg-color-day);
padding-left: 16px; padding-left: 16px;
padding-right: 16px; padding-right: 16px;
padding-top: 8px; padding-top: 12px;
padding-bottom: 8px; padding-bottom: 12px;
font-size: var(--main-text-font-size); font-size: var(--main-text-font-size);
font-weight: normal; font-weight: normal;
line-height: var(--main-text-line-height); line-height: var(--main-text-line-height);
@ -86,8 +90,8 @@ body {
word-wrap: break-word; word-wrap: break-word;
padding-left: 16px; padding-left: 16px;
padding-right: 16px; padding-right: 16px;
padding-top: 8px; padding-top: 12px;
padding-bottom: 8px; padding-bottom: 12px;
font-weight: normal; font-weight: normal;
line-height: var(--main-text-line-height); line-height: var(--main-text-line-height);
} }

View file

@ -416,7 +416,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
if (aggregatedPartOfArrayOrig.length > 0) { if (aggregatedPartOfArrayOrig.length > 0) {
for (int i = 0; i < aggregatedPartOfArrayOrig.length ; i++) { for (int i = 0; i < aggregatedPartOfArrayOrig.length ; i++) {
if (i > 0) { if (i > 0) {
sb.append(" ").append(aggregatedPartOfArrayOrig[i]); sb.append(" ").append(aggregatedPartOfArrayOrig[i]);
} else { } else {
if (!TextUtils.isEmpty(current)) { if (!TextUtils.isEmpty(current)) {
sb.append("<span class=\"nav-bar-current\">").append(current).append("</span>"); sb.append("<span class=\"nav-bar-current\">").append(current).append("</span>");