File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 <p id ="confirmation-message" >{state .options .message }</p >
6666 </div >
6767
68+ <div class =" dialog-hint" >
69+ Press <kbd >↵</kbd > to confirm
70+ </div >
71+
6872 <div class =" dialog-footer" >
69- <span class =" hint" ><kbd >↵</kbd > to confirm</span >
7073 <button class ="ghost" onclick ={handleCancel }>
7174 {state .options .cancelText }
7275 </button >
98101 line-height : 1.5 ;
99102 }
100103
101- .dialog-footer {
102- display : flex ;
103- align-items : center ;
104- gap : var (--space-sm );
105- padding : var (--space-sm ) var (--space-md ) var (--space-md );
106- }
107-
108- .dialog-footer .hint {
104+ .dialog-hint {
105+ padding : var (--space-xs ) var (--space-md );
106+ background : var (--surface-raised );
107+ border-top : 1px solid var (--border );
109108 font-size : 10px ;
110109 color : var (--text-disabled );
111- margin-right : auto ;
110+ text-align : center ;
112111 }
113112
114- .dialog-footer kbd {
113+ .dialog-hint kbd {
115114 display : inline-block ;
116115 padding : 1px 4px ;
117116 font-family : inherit ;
118117 font-size : 9px ;
119118 background : var (--surface-raised );
120119 border : 1px solid var (--border );
121- border-radius : var ( --radius-sm ) ;
120+ border-radius : 3 px ;
122121 color : var (--text-muted );
122+ margin : 0 2px ;
123+ }
124+
125+ .dialog-footer {
126+ display : flex ;
127+ justify-content : flex-end ;
128+ gap : var (--space-sm );
129+ padding : var (--space-sm ) var (--space-md ) var (--space-md );
123130 }
124131
125132 .dialog-footer button {
You can’t perform that action at this time.
0 commit comments