-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dialogs): extend MatDialogConfig to leverage all the dialog conf…
…ig (closes #1011) (#1059) * feat(dialogs): extend MatDialogConfig to leverage all the dialog configurations we are going away from hardcoding widths so this is technically a breaking change, but now you will be able to pass any widths and update the dialog configuration as needed.. also long words wrap properly * feat(): add 400px width by default
- Loading branch information
1 parent
b92a6dc
commit eb2ca43
Showing
6 changed files
with
17 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
src/platform/core/dialogs/alert-dialog/alert-dialog.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
@media (min-width: 600px) { | ||
td-dialog { | ||
width: 400px; | ||
} | ||
} | ||
@media (max-width: 599px) { | ||
td-dialog { | ||
width: 250px; | ||
} | ||
.td-dialog-message { | ||
word-break: break-word; | ||
} |
11 changes: 2 additions & 9 deletions
11
src/platform/core/dialogs/confirm-dialog/confirm-dialog.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
@media (min-width: 600px) { | ||
td-dialog { | ||
width: 400px; | ||
} | ||
} | ||
@media (max-width: 599px) { | ||
td-dialog { | ||
width: 250px; | ||
} | ||
.td-dialog-message { | ||
word-break: break-word; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters