Skip to content

Commit 6b6755c

Browse files
authored
fix: Update the dialog content container to 100% height when full-height is used so that consumers can use relative height on their content. (#4956)
1 parent a7e1eb6 commit 6b6755c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/dialog/dialog-styles.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ export const dialogStyles = css`
136136
position: relative; /* make this the positioned parent for absolute positioned elements like d2l-template-primary-secondary */
137137
}
138138
139+
:host([full-height]) .d2l-dialog-content > div {
140+
box-sizing: border-box;
141+
height: 100%;
142+
}
143+
139144
.d2l-dialog-outer-scroll .d2l-dialog-content {
140145
overflow: auto;
141146
}

0 commit comments

Comments
 (0)