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

Narrow the space between lines in buttons in docs/home
pull/22116/head
Kubernetes Prow Robot 2020-06-27 16:38:14 -07:00 committed by GitHub
commit d839ff12de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -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;

View File

@ -19,9 +19,11 @@
{{ end }}
{{ end }}
</ul>
<br>
<button id="btn-concepts" class="button" onClick="location.href='{{ .button_path | relLangURL }}';" aria-label="{{ .title }}">{{ .button }}</button>
<br>
<br>
{{ if .button }}
<br>
<button id="btn-concepts" class="button" onClick="location.href='{{ .button_path | relLangURL }}';" aria-label="{{ .title }}">{{ .button }}</button>
<br>
<br>
{{ end }}
</div>
{{ end }}