Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(context-dialog): Fixes an overflow issue with long content when p…
Browse files Browse the repository at this point in the history
…ositioning moved to bottom.

At some point the dt-context-dialog-content was the last element if there was no footer and the css selector corrected against the overflow situation with the close button.
After a html structure change, the content was never the last child, as the button was rendered unconditionally afterwards.
  • Loading branch information
tomheller authored and nimrod13 committed Apr 21, 2021
1 parent d43103a commit c84fac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $context-dialog-top-header-padding: 8px;
// and there is no footer, adjust the padding and margin of the content.
::ng-deep.dt-context-dialog-panel-bottom
.dt-context-dialog-panel
.dt-context-dialog-content:not(:last-child) {
.dt-context-dialog-content:not(:nth-last-child(2)) {
margin: 0;
padding: $panel-padding;
}
Expand Down

0 comments on commit c84fac5

Please sign in to comment.