Merge pull request #21817 from shuuji3/narrow-spaces-between-lines

Narrow the space between lines in buttons in docs/home
This commit is contained in:
Kubernetes Prow Robot
2020-06-27 16:38:14 -07:00
committed by GitHub
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ footer {
.button { .button {
display: inline-block; display: inline-block;
border-radius: 6px; border-radius: 6px;
padding: 0 20px; padding: 6px 20px;
line-height: 40px; line-height: 1.3rem;
color: white; color: white;
background-color: $blue; background-color: $blue;
text-decoration: none; text-decoration: none;
+6 -4
View File
@@ -19,9 +19,11 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</ul> </ul>
<br> {{ if .button }}
<button id="btn-concepts" class="button" onClick="location.href='{{ .button_path | relLangURL }}';" aria-label="{{ .title }}">{{ .button }}</button> <br>
<br> <button id="btn-concepts" class="button" onClick="location.href='{{ .button_path | relLangURL }}';" aria-label="{{ .title }}">{{ .button }}</button>
<br> <br>
<br>
{{ end }}
</div> </div>
{{ end }} {{ end }}