Skip to content

Commit 8402ec8

Browse files
authored
fix(ui5-dynamic-page): change the container-type (#11325)
Problem: The current implementation uses 'container-type: size' which applies containment to both width and height dimensions. This creates a problem when combined with 'height: inherit' as it disrupts the height inheritance chain, causing inner components to collapse to zero height while width continues to work correctly. Solution: By changing to 'container-type: inline-size', we maintain containment only for the inline (width) dimension while allowing height to behave normally. This preserves all width-based container queries used for responsive design while fixing the height inheritance issue. Related to: #11309
1 parent a35c2b6 commit 8402ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fiori/src/themes/DynamicPage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
.ui5-dynamic-page-root {
15-
container-type: size;
15+
container-type: inline-size;
1616
height: inherit;
1717
overflow-y: hidden;
1818
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy