From 42468184a8c874a78b76502b6429c1d55d5d4dd6 Mon Sep 17 00:00:00 2001 From: Precious Onyenaucheya Date: Fri, 4 Oct 2024 11:33:29 +0100 Subject: [PATCH] update --- ...st__components_quote_example-quote_0_document_1_tablet.png | 4 ++-- ...st__components_quote_example-quote_0_document_2_mobile.png | 4 ++-- src/components/download-resources/_download-resources.scss | 3 +-- src/components/field/_field.scss | 3 +-- src/components/list/_list.scss | 3 +-- src/components/navigation/_navigation.scss | 2 -- src/components/quote/_quote.scss | 2 +- src/scss/objects/_page.scss | 3 +-- 8 files changed, 9 insertions(+), 15 deletions(-) diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_1_tablet.png b/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_1_tablet.png index 7a97cc58d3..b2aae8d8af 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_1_tablet.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_1_tablet.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4e2a1dd9ce683464711e55ed9abb574c0096fff07c1c32e18ae0e64a0f175227 -size 15906 +oid sha256:66d7414417fc42ab110d57d417fbe09f8cc11dfd7ac8452d9b685fe05996d3e5 +size 15907 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_2_mobile.png index cbf05604f1..abe4596fcd 100644 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_2_mobile.png +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_quote_example-quote_0_document_2_mobile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:de5c9f851d448c16e473098fc2d8380f26183ed20293c261119ef5d43f2d63a9 -size 13764 +oid sha256:adf93b604a6e1e3aaffe09826889765a43367cfd91abcdbf32d6108e0a6cbb43 +size 13804 diff --git a/src/components/download-resources/_download-resources.scss b/src/components/download-resources/_download-resources.scss index 22a3cb884d..34a9c77244 100644 --- a/src/components/download-resources/_download-resources.scss +++ b/src/components/download-resources/_download-resources.scss @@ -34,8 +34,7 @@ .ons-label { font-weight: $font-weight-regular; - margin-bottom: 0; - margin-right: 0.5rem; + margin: 0 0.5rem 0 0; } .ons-input--select { diff --git a/src/components/field/_field.scss b/src/components/field/_field.scss index 0f3e29be4e..a1d301a58b 100644 --- a/src/components/field/_field.scss +++ b/src/components/field/_field.scss @@ -17,8 +17,7 @@ display: flex; .ons-label { - margin-bottom: 0; - margin-right: 0.5rem; + margin: 0 0.5rem 0 0; } } } diff --git a/src/components/list/_list.scss b/src/components/list/_list.scss index 8eeabca913..1fadac6ca9 100644 --- a/src/components/list/_list.scss +++ b/src/components/list/_list.scss @@ -77,8 +77,7 @@ &--icons { margin-bottom: 0; .ons-list__item { - margin-top: 0; - margin-bottom: 0.5rem; + margin: 0 0 0.5rem; } } diff --git a/src/components/navigation/_navigation.scss b/src/components/navigation/_navigation.scss index 8887606d8f..ad841156fc 100644 --- a/src/components/navigation/_navigation.scss +++ b/src/components/navigation/_navigation.scss @@ -49,8 +49,6 @@ &__item { border-left: 4px solid transparent; display: block; - margin: 0 0 0.25rem; - @extend .ons-u-mb-no; &--active, &:hover { border-color: var(--ons-color-white); diff --git a/src/components/quote/_quote.scss b/src/components/quote/_quote.scss index 8e71670e3b..9adb8a5e2b 100644 --- a/src/components/quote/_quote.scss +++ b/src/components/quote/_quote.scss @@ -13,7 +13,7 @@ color: var(--ons-color-text-light); display: block; - margin-top: 2r0.5m; + margin-top: 0.5rem; position: relative; } diff --git a/src/scss/objects/_page.scss b/src/scss/objects/_page.scss index 3e7d073732..6ac8385d2b 100644 --- a/src/scss/objects/_page.scss +++ b/src/scss/objects/_page.scss @@ -15,8 +15,7 @@ } .ons-page__main { - margin-bottom: 4rem; - margin-top: 2.5rem; + margin: 2.5rem 0 4rem; @include mq(xxs, m) { margin-top: 1.5rem;