diff --git a/css/ngDialog.css b/css/ngDialog.css index 0e916436..0aba4b63 100644 --- a/css/ngDialog.css +++ b/css/ngDialog.css @@ -102,6 +102,12 @@ animation: ngdialog-fadeout 0.5s; } +.ngdialog-close { + -webkit-appearance: none; + background: none; + border: none; +} + .ngdialog-close:before { font-family: 'Helvetica', Arial, sans-serif; content: '\00D7'; @@ -111,4 +117,4 @@ html.ngdialog-open, body.ngdialog-open { overflow: hidden; -} \ No newline at end of file +} diff --git a/js/ngDialog.js b/js/ngDialog.js index 89e100f6..8fb4ded1 100644 --- a/js/ngDialog.js +++ b/js/ngDialog.js @@ -519,7 +519,7 @@ locals = setup.locals; if (options.showClose) { - template += '
'; + template += ''; } var hasOverlayClass = options.overlay ? '' : ' ngdialog-no-overlay';