@@ -110,7 +110,7 @@ function CaptchaView(options = {}) {
110
110
// Captcha image and refresh button container
111
111
const imageContainer = document . createElement ( 'div' ) ;
112
112
imageContainer . style . display = 'flex' ;
113
- imageContainer . style . alignItems = 'center ' ;
113
+ imageContainer . style . alignItems = 'stretch ' ;
114
114
imageContainer . style . justifyContent = 'space-between' ;
115
115
imageContainer . style . gap = '10px' ;
116
116
imageContainer . style . border = '1px solid #ced7e1' ;
@@ -142,10 +142,12 @@ function CaptchaView(options = {}) {
142
142
// Refresh button
143
143
const refreshButton = document . createElement ( 'button' ) ;
144
144
refreshButton . classList . add ( 'button' , 'button-small' ) ;
145
- refreshButton . innerHTML = '<i class="fas fa-sync-alt"></i>' ;
145
+ refreshButton . innerHTML = '<i class="fas fa-sync-alt">⟳ </i>' ;
146
146
refreshButton . setAttribute ( 'title' , i18n ( 'refresh_captcha' ) ) ;
147
147
refreshButton . style . minWidth = '30px' ;
148
- refreshButton . style . height = '30px' ;
148
+ refreshButton . style . fontSize = '30px' ;
149
+ refreshButton . style . height = 'auto' ;
150
+ refreshButton . style . marginBottom = '4px' ;
149
151
refreshButton . setAttribute ( 'type' , 'button' ) ;
150
152
refreshButton . addEventListener ( 'click' , ( e ) => {
151
153
e . preventDefault ( ) ;
0 commit comments