From 86c0cc0498d1d4ab5e80004870b6b3c1ad3faa27 Mon Sep 17 00:00:00 2001 From: SriHV Date: Thu, 28 Nov 2024 16:05:11 +0000 Subject: [PATCH] changes as per comments --- src/components/hero/_hero.scss | 8 ++------ src/components/hero/_macro-options.md | 20 ++++++++++---------- src/components/tabs/_tabs.scss | 2 +- 3 files changed, 13 insertions(+), 17 deletions(-) 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