diff --git a/src/components/hero/_hero.scss b/src/components/hero/_hero.scss index bdc8f00e22..cb5694d852 100644 --- a/src/components/hero/_hero.scss +++ b/src/components/hero/_hero.scss @@ -43,8 +43,8 @@ height: 100%; } - &__text { - padding-bottom: 1rem; + &__text:has(+ .ons-btn) { + margin-bottom: 2rem; } &__pre-title { @@ -89,10 +89,6 @@ } } - &__text { - padding: 0; - } - &__circle-1 { @include mq(l) { background-color: var(--ons-color-spring-green); diff --git a/src/components/hero/_macro-options.md b/src/components/hero/_macro-options.md index e721a9c007..a337aadc97 100644 --- a/src/components/hero/_macro-options.md +++ b/src/components/hero/_macro-options.md @@ -1,13 +1,13 @@ -| Name | Type | Required | Description | -| -------------- | ---------------- | -------- | ------------------------------------------------------------------------------------------------------- | -| variants | array or string | false | An array of values or single value (string) to adjust the component using available variant, “dark” | -| wide | boolean | false | Set to “true” when using the `wide` page layout container | -| title | string | true | Text for the hero title | -| subtitle | string | false | Text for the hero subtitle | -| text | string | false | Text to follow the hero title and subtitle | -| button | `Object