Fixed - Long local pickup details text truncate issue (#55502)
Some checks failed
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (10, 10) (push) Failing after 3s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (2, 10) (push) Failing after 2s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (3, 10) (push) Failing after 2s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (4, 10) (push) Failing after 2s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (5, 10) (push) Failing after 2s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (6, 10) (push) Failing after 1s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (7, 10) (push) Failing after 2s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (8, 10) (push) Failing after 3s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (9, 10) (push) Failing after 4s
Blocks Playwright Tests / Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }} (1, 10) (push) Failing after 13m19s
Blocks Playwright Tests / Create GitHub issues for flaky tests (push) Has been skipped
Blocks Playwright Tests / Merge Artifacts (push) Has been skipped

* Fixed - Long local pickup details text truncate issue

Long local pickup details text will truncate on all options after selecting.

* added changelog

* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce

* Deleting manual changelog plugins/woocommerce/changelog/fix-Long-local-pickup-details-truncate-issue

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Bhupesh Mishra 2025-02-17 11:21:46 +05:30 committed by GitHub
parent 56ff3a7d07
commit c862da0dc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 13 deletions

View File

@ -30,15 +30,32 @@
font-style: inherit;
}
}
.wc-block-components-radio-control__option-checked {
.wc-block-components-radio-control__description-group {
.read-more-content {
margin-left: em($gap-small * 0.25);
position: initial;
visibility: visible;
z-index: initial;
hyphens: auto;
word-break: normal;
}
}
}
.wc-block-components-radio-control__description-group {
display: block;
width: calc(100% + em($gap-huge / 0.875));
box-sizing: border-box;
border-radius: $universal-border-radius;
padding: 0 em($gap);
padding: 1px em($gap-small);
margin-left: -(em($gap-huge));
margin-top: em($gap);
@include font-size(regular);
.read-more-content {
position: absolute;
visibility: hidden;
z-index: -1;
}
}
.wc-block-components-radio-control__description,
.wc-block-components-radio-control__secondary-description {
@ -64,17 +81,5 @@
fill: currentColor;
}
}
.wc-block-components-radio-control__description-group {
.wc-block-components-radio-control__secondary-description {
display: none;
}
}
.wc-block-components-radio-control__option-checked {
.wc-block-components-radio-control__description-group {
.wc-block-components-radio-control__secondary-description {
display: block;
}
}
}
}
}

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Long local pickup details text will truncate on all options after selecting.