From 44836c8a3cb0d3bbeb0c9cd84862c6bbb5cb0f8c Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Thu, 11 Jul 2024 08:28:12 +0200 Subject: [PATCH] fix: expand summary content to take remaining width (#7529) (#7540) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fredi Wasström --- packages/details/theme/lumo/vaadin-details-summary-styles.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/details/theme/lumo/vaadin-details-summary-styles.js b/packages/details/theme/lumo/vaadin-details-summary-styles.js index 6c51e66d6d..1b6fc82dea 100644 --- a/packages/details/theme/lumo/vaadin-details-summary-styles.js +++ b/packages/details/theme/lumo/vaadin-details-summary-styles.js @@ -61,6 +61,10 @@ const detailsSummary = css` transform: rotate(90deg); } + [part='content'] { + flex-grow: 1; + } + /* RTL styles */ :host([dir='rtl']) [part='toggle'] { margin-left: var(--lumo-space-xs);