feat: add summary button to welcome section (#138)

This commit is contained in:
Simon Kienzler 2019-04-11 01:03:02 +02:00 committed by Benjamin E. Coe
parent 795ff8b7fb
commit bf22bab967
2 changed files with 7 additions and 2 deletions

View File

@ -25,9 +25,11 @@ languages:
title: Conventional Commits title: Conventional Commits
description: A specification for adding human and machine readable meaning to commit messages description: A specification for adding human and machine readable meaning to commit messages
actions: actions:
- label: Read the specs - label: Quick Summary
url: '#summary'
- label: Full Specification
url: '#specification' url: '#specification'
- label: GitHub - label: Contribute
url: 'https://github.com/conventional-commits/conventionalcommits.org' url: 'https://github.com/conventional-commits/conventionalcommits.org'
versions: versions:
current: v1.0.0-beta.3 current: v1.0.0-beta.3

View File

@ -36,6 +36,7 @@
&__actions { &__actions {
display: flex; display: flex;
margin-top: ($gap-lg * 3)/2; margin-top: ($gap-lg * 3)/2;
flex-wrap: wrap;
} }
&__action { &__action {
@ -45,7 +46,9 @@
color: $welcome-action-color; color: $welcome-action-color;
border: 1px solid $welcome-action-color; border: 1px solid $welcome-action-color;
margin-right: $gap-md; margin-right: $gap-md;
margin-bottom: $gap-md;
transition: background-color .3s ease, color .3s ease; transition: background-color .3s ease, color .3s ease;
min-width: fit-content;
&:last-child { &:last-child {
margin-right: 0; margin-right: 0;
} }