Title: Bug - DescriptionList - `termWidth` prop value is not applied · Issue #12252 · patternfly/patternfly-react · GitHub
Open Graph Title: Bug - DescriptionList - `termWidth` prop value is not applied · Issue #12252 · patternfly/patternfly-react
X Title: Bug - DescriptionList - `termWidth` prop value is not applied · Issue #12252 · patternfly/patternfly-react
Description: Describe the problem The termWidth prop on the
Open Graph Description: Describe the problem The termWidth prop on the
X Description: Describe the problem The termWidth prop on the <DescriptionList> component does not work after updating from PF5 to PF6. How do you reproduce the problem? Visit the docs site and adjust the v...
Opengraph URL: https://github.com/patternfly/patternfly-react/issues/12252
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug - DescriptionList - `termWidth` prop value is not applied","articleBody":"**Describe the problem**\nThe `termWidth` prop on the `\u003cDescriptionList>` component does not work after updating from PF5 to PF6.\n\n**How do you reproduce the problem?**\nVisit the docs site and adjust the value of `termWidth` in the example. The width of the term does not change. https://www.patternfly.org/components/description-list#horizontal-using-custom-term-width-modifier\n\n**Expected behavior**\nChanging the `termWidth` updates the default size of the term in horizontal description lists.\n\n**Is this issue blocking you?**\nNo, we can use the `horizontalTermWidthModifier` prop as an alternative that avoids this issue.\n\n**Screenshots**\nNot needed, see docs site example above.\n\n**Any other information?**\n\nI believe the cause of this is a malformed CSS class here: https://github.com/patternfly/patternfly-react/blob/main/packages/react-core/src/components/DescriptionList/DescriptionList.tsx#L9\n\nThe correct value should be\n```diff\n- `--${styles.descriptionList}_term-width`\n+ `--${styles.descriptionList}__term--width`\n```\nas this change fixes the problem when the HTML is manually edited via dev tools on the docs site.\n\n---\n\n**Jira Issue:** [PF-3634](https://issues.redhat.com/browse/PF-3634)","author":{"url":"https://github.com/dvail","@type":"Person","name":"dvail"},"datePublished":"2026-02-26T13:57:01Z","url":"https://github.com/patternfly/patternfly-react/issues/12252"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:52e43f36-ef57-680a-aeed-37c34606f9f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E39C:29FFA9:D05154:108F0F4:6B010073 |
| html-safe-nonce | 57252b60aaa09b109ee991a2efb5eee15f888767015fe8e60c62a54c5686b113 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzlDOjI5RkZBOTpEMDUxNTQ6MTA4RjBGNDo2QjAxMDA3MyIsInZpc2l0b3JfaWQiOiI1NzA4OTQ1Mzc1NzM4NTI3ODYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fed4d422b0e39aea54f2b249faf74a38544234168b2bda4763df385c5b08de72 |
| hovercard-subject-tag | issue:3995736824 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/patternfly/patternfly-react/12252/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58201f98e6406a2f983edbe8d561e910a792e8e7205cd58f0197649456e8fd87/patternfly/patternfly-react/issues/12252 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58201f98e6406a2f983edbe8d561e910a792e8e7205cd58f0197649456e8fd87/patternfly/patternfly-react/issues/12252 |
| og:image:alt | Describe the problem The termWidth prop on the |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dvail |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/patternfly/patternfly-react git https://github.com/patternfly/patternfly-react.git |
| octolytics-dimension-user_id | 6391110 |
| octolytics-dimension-user_login | patternfly |
| octolytics-dimension-repository_id | 84372347 |
| octolytics-dimension-repository_nwo | patternfly/patternfly-react |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 84372347 |
| octolytics-dimension-repository_network_root_nwo | patternfly/patternfly-react |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width