From 14ce677eeb67fa9f02972ec71f8fc99cff387c3c Mon Sep 17 00:00:00 2001 From: OlgaLarina Date: Thu, 24 Aug 2023 17:09:49 +0300 Subject: [PATCH] work for https://github.com/surveyjs/private-tasks/issues/266 --- src/defaultV2-theme/blocks/sd-dropdown.scss | 7 +++++++ src/defaultV2-theme/blocks/sd-paneldynamic.scss | 4 ++-- src/defaultV2-theme/blocks/sd-table.scss | 2 ++ src/defaultV2-theme/blocks/sd-tagbox.scss | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/defaultV2-theme/blocks/sd-dropdown.scss b/src/defaultV2-theme/blocks/sd-dropdown.scss index 1fca867a50..a386347229 100644 --- a/src/defaultV2-theme/blocks/sd-dropdown.scss +++ b/src/defaultV2-theme/blocks/sd-dropdown.scss @@ -143,6 +143,13 @@ } } +.sv-popup.sv-popup--dropdown.sv-popup--dropdown { + .sd-list__item-body { + line-height: multiply(1.5, $font-editorfont-size); + font-size: $font-editorfont-size; + } +} + [dir="rtl"], [style*="direction:rtl"], [style*="direction: rtl"] { diff --git a/src/defaultV2-theme/blocks/sd-paneldynamic.scss b/src/defaultV2-theme/blocks/sd-paneldynamic.scss index 7d212e4105..5fdae4b742 100644 --- a/src/defaultV2-theme/blocks/sd-paneldynamic.scss +++ b/src/defaultV2-theme/blocks/sd-paneldynamic.scss @@ -188,7 +188,7 @@ font-family: var(--font-family, $font-family); font-size: $font-editorfont-size; line-height: multiply(1.5, $font-editorfont-size); - color: $foreground-light; + color: $font-questiondescription-color; overflow-x: hidden; white-space: nowrap; @@ -198,7 +198,7 @@ } .sd-tab-item.sd-tab-item--pressed { - color: $foreground; + color: $font-questiontitle-color; box-shadow: inset 0px -2px 0px $primary; } diff --git a/src/defaultV2-theme/blocks/sd-table.scss b/src/defaultV2-theme/blocks/sd-table.scss index 42d8eaa3e8..7c6e1364dc 100644 --- a/src/defaultV2-theme/blocks/sd-table.scss +++ b/src/defaultV2-theme/blocks/sd-table.scss @@ -144,6 +144,7 @@ .sd-table__cell--header { font-weight: 600; + color: $font-questiontitle-color; vertical-align: top; padding: calcSize(1.5) calcSize(1); @@ -232,6 +233,7 @@ .sd-table__cell--row-text { font-weight: 600; + color: $font-questiontitle-color; text-align: left; min-width: calcSize(12); padding: calcSize(1.5) calcSize(1); diff --git a/src/defaultV2-theme/blocks/sd-tagbox.scss b/src/defaultV2-theme/blocks/sd-tagbox.scss index 77ff8c6b0b..c1566039ce 100644 --- a/src/defaultV2-theme/blocks/sd-tagbox.scss +++ b/src/defaultV2-theme/blocks/sd-tagbox.scss @@ -57,7 +57,7 @@ } .sd-tagbox-item_clean-button-svg { - display: flex; + display: block; padding: calcSize(0.5); width: calcSize(2); height: calcSize(2);