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 { .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;

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 }}