Sha256: 0505d892152bb1e4445ca38a2a5f97b4a2afe2caa73fbfc16c2438f30106cff3
Contents?: true
Size: 994 Bytes
Versions: 11
Compression:
Stored size: 994 Bytes
Contents
// This component relies on styles from GOV.UK Frontend // Specify the functions used to resolve assets paths in SCSS $govuk-image-url-function: "image-url"; $govuk-font-url-function: "font-url"; @import "../../../../node_modules/govuk-frontend/components/button/button"; @import "mixins/margins"; // Because govuk-frontend adds a responsive bottom margin by default for each component // we reset it to zero so we can set it separately using `gem-c-button--bottom-margin` // If we decide to use responsive margins consistently across components we can remove this .gem-c-button { margin-bottom: 0; } // this will be moved and extended into a model for general component spacing // once this has been decided upon and other work completed, see: // https://trello.com/c/KEkNsxG3/142-3-implement-customisable-spacing-for-components .gem-c-button--bottom-margin { @include responsive-bottom-margin; } .gem-c-button__info-text { display: block; max-width: 14em; margin-top: .5em; }
Version data entries
11 entries across 11 versions & 1 rubygems