Skip to content

Commit 1e95c7f

Browse files
committed
Dialog: Added padding and margin to the right side of the titlebar so the title doesn't go behind the close icon.
Fixes #5087 - Title goes behind the close link.
1 parent 568b607 commit 1e95c7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/base/ui.dialog.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* Dialog
22
----------------------------------*/
33
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
4-
.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
5-
.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
4+
.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
5+
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; }
66
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
77
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
88
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }

0 commit comments

Comments
 (0)