Open intuiquest opened 1 month ago
Implementing a responsive full-height flex layout in iX applications can be difficult.
Some components, such as ix-pane-layout, have a default display: block for their content slots.
ix-pane-layout
display: block
Additionally, in some cases, these styles cannot be overridden due to the shadow root (e.g., ix-application > main.content).
ix-application > main.content
This is the custom CSS I had to use to overcome this issue:
html, body { display: flex; width: 100%; height: 100%; } ix-pane-layout > [slot=content] { display: flex; flex: 1; width: 100%; height: 100%; }
Hello @intuiquest! Could you kindly provide us with a working stackplitz example, so we can analyse it in more detail?
Prerequisites
Suggestion / feature request
Implementing a responsive full-height flex layout in iX applications can be difficult.
Some components, such as
ix-pane-layout
, have a defaultdisplay: block
for their content slots.Additionally, in some cases, these styles cannot be overridden due to the shadow root (e.g.,
ix-application > main.content
).This is the custom CSS I had to use to overcome this issue: