File tree Expand file tree Collapse file tree
stylesheets/alchemy/admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ export class Dialog {
233233 this . dialog_header = $ ( '<div class="alchemy-dialog-header" />' )
234234 this . dialog_title = $ ( '<div class="alchemy-dialog-title" />' )
235235 this . close_button = $ (
236- '<a class="alchemy-dialog-close"><alchemy-icon name="close"></alchemy-icon></a >'
236+ '<button class="alchemy-dialog-close"><alchemy-icon name="close"></alchemy-icon></button >'
237237 )
238238 this . dialog_title . text ( this . options . title )
239239 this . dialog_header . append ( this . dialog_title )
Original file line number Diff line number Diff line change 156156 }
157157}
158158
159+ .alchemy-dialog-close {
160+ display : inline-flex ;
161+ width : var (--spacing-6 );
162+ height : var (--spacing-6 );
163+ justify-content : center ;
164+ align-items : center ;
165+ background-color : transparent ;
166+ border-color : transparent ;
167+ border-radius : var (--border-radius_medium );
168+ color : var (--color-white );
169+ padding : 0 ;
170+
171+ & :hover {
172+ background-color : var (--color-blue_medium );
173+ }
174+ }
175+
159176.alchemy-dialog-body {
160177 position : relative ;
161178 color : var (--text-color );
You can’t perform that action at this time.
0 commit comments