From c62a87d78cc69fb93a572c167815b5bd0765f4a4 Mon Sep 17 00:00:00 2001 From: Precious Onyenaucheya Date: Fri, 29 Nov 2024 09:39:25 +0000 Subject: [PATCH] approve visual tests --- ...n-list-horizontal_0_document_0_desktop.png | 3 -- ...on-list-horizontal_0_document_1_tablet.png | 3 -- ...on-list-horizontal_0_document_2_mobile.png | 3 -- ...-description-list_0_document_0_desktop.png | 3 ++ ...e-description-list_0_document_1_tablet.png | 3 ++ ...e-description-list_0_document_2_mobile.png | 3 ++ .../description-list/_description-list.scss | 30 +++++++++---------- 7 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_0_desktop.png delete mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_1_tablet.png delete mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_2_mobile.png create mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_0_desktop.png create mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_1_tablet.png create mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_2_mobile.png diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_0_desktop.png b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_0_desktop.png deleted file mode 100644 index 21a27eb892..0000000000 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_0_desktop.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8de37dd64d375e7aa93453235b48a44e50935484af481b0baff2d575d1305b6f -size 29077 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_1_tablet.png b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_1_tablet.png deleted file mode 100644 index f06bdc38d8..0000000000 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_1_tablet.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04da17ed895f94dc3bf96700d9fd562cee5a38d311bf862a5921f93209f53efa -size 26778 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_2_mobile.png deleted file mode 100644 index d5556431cf..0000000000 --- a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-description-list-horizontal_0_document_2_mobile.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7a5e742650b69a620ad6a88f413455914569b892fc3f3d1b07fb218f9e85824 -size 23732 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_0_desktop.png b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_0_desktop.png new file mode 100644 index 0000000000..be826618ec --- /dev/null +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_0_desktop.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1919cf6a432a9c345066cf225c145175d5f4efc295a0c768eceb92425b506d12 +size 31145 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_1_tablet.png b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_1_tablet.png new file mode 100644 index 0000000000..094d8bb803 --- /dev/null +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_1_tablet.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f86583c3c214887dfe5a160e4f9e89827597713760b91ed7bef9650d6830abb3 +size 26901 diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_2_mobile.png new file mode 100644 index 0000000000..f5141703a9 --- /dev/null +++ b/backstop_data/bitmaps_reference/ds-vr-test__components_description-list_example-inline-description-list_0_document_2_mobile.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24353f18540d373c96f4de57c56514d2dfc1c2d792c92436bff1ae9e0fd55e35 +size 23850 diff --git a/src/components/description-list/_description-list.scss b/src/components/description-list/_description-list.scss index 9bb8d4d189..cc3998423d 100644 --- a/src/components/description-list/_description-list.scss +++ b/src/components/description-list/_description-list.scss @@ -1,23 +1,23 @@ .ons-description-list { - &__items & { + &__items { margin: 0 0 2rem; + } - &__term { - clear: both; - float: left; - font-weight: $font-weight-bold; - word-break: break-word; - } + &__term { + clear: both; + float: left; + font-weight: $font-weight-bold; + word-break: break-word; + } - &__value { - float: right; - margin-left: 0; /* As normalize adds a 40px left margin */ - word-break: break-word; + &__value { + float: right; + margin-left: 0; /* As normalize adds a 40px left margin */ + word-break: break-word; - & + & { - @include mq(m) { - margin-top: 0; - } + & + & { + @include mq(m) { + margin-top: 0; } } }