From b2f7323f542db6af7c2c600765a9d3b96b314634 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Wed, 17 Jun 2020 12:22:24 +0900 Subject: [PATCH] Narrow the space between lines of labels. Apply suggestions from code review Co-authored-by: Celeste Horgan --- assets/scss/_base.scss | 4 ++-- layouts/partials/docs/docs-portal-card.html | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/assets/scss/_base.scss b/assets/scss/_base.scss index ddfee42444..fab7dd4e7e 100644 --- a/assets/scss/_base.scss +++ b/assets/scss/_base.scss @@ -65,8 +65,8 @@ footer { .button { display: inline-block; border-radius: 6px; - padding: 0 20px; - line-height: 40px; + padding: 6px 20px; + line-height: 1.3rem; color: white; background-color: $blue; text-decoration: none; diff --git a/layouts/partials/docs/docs-portal-card.html b/layouts/partials/docs/docs-portal-card.html index 6dc145072d..c203573e13 100644 --- a/layouts/partials/docs/docs-portal-card.html +++ b/layouts/partials/docs/docs-portal-card.html @@ -19,9 +19,11 @@ {{ end }} {{ end }} -
- -
-
+ {{ if .button }} +
+ +
+
+ {{ end }} {{ end }} \ No newline at end of file