This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +50
-11
lines changed
Expand file tree Collapse file tree 3 files changed +50
-11
lines changed Original file line number Diff line number Diff line change 291291 max-width : 25em ;
292292 padding : 32px ;
293293
294- #btn_cancel {
295- span {
296- width : calc (100% - 50px );
297- }
294+ #frm_confirm {
295+ justify-content : center ;
298296 }
299- #btn_ok {
300- width : calc (100% - 25px );
297+ .hint {
298+ padding : 0px 10px 25px 0px ;
299+ white-space : nowrap ;
300+ @media screen and (max-width : 500px ) {
301+ padding : 0px 10px 20px 0px ;
302+ white-space : nowrap ;
303+ }
304+ @media screen and (max-width : 345px ) {
305+ padding : 0px 10px 20px 0px ;
306+ white-space : nowrap ;
307+ font-size : x-small ;
308+ }
301309 }
302310 & #dialog_content {
303311 padding : 22px 12px ;
304312 }
305313 }
314+ & #top_up_virtual_pop_up , & #top_up_error {
315+ #continue_text {
316+ width : calc (100% - 50px );
317+ @media screen and (max-width : 435px ) {
318+ width : calc (100% - 1rem );
319+ font-size : small ;
320+ padding : 10px ;
321+ }
322+ @media screen and (max-width : 300px ) {
323+ width : calc (100% - 0.625rem );
324+ font-size : x-small ;
325+ padding : 10px ;
326+ }
327+ }
328+ #btn_ok {
329+ width : calc (100% - 10px );
330+ height : 56px ;
331+ @media screen and (max-width : 435px ) {
332+ font-size : small ;
333+ width : calc (100% - 0.375rem );
334+ padding : 10px ;
335+ height : 46px ;
336+ }
337+ @media screen and (max-width : 300px ) {
338+ font-size : x-small ;
339+ width : 100% ;
340+ height : 40px ;
341+ margin-left : 10px ;
342+ }
343+ }
344+ }
306345 }
307346 & #top_up_error {
308347 > div {
322361 width : 100% ;
323362 text-align : center ;
324363
325- .button span {
326- width : calc ( 50 % - 55 px ) ;
364+ #cancel_btn_text , #ok_btn_text {
365+ width : 4.5 rem ;
327366 }
328367 }
329368 }
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ const Dialog = () => (
99 < p id = 'dialog_message' className = 'gr-padding-10 no-margin' />
1010 < div className = 'gr-row gr-row-align-right gr-padding-10' >
1111 < form id = 'frm_confirm' >
12- < a className = 'button button-secondary' id = 'btn_cancel' href = 'javascript:;' > < span > { it . L ( 'Cancel' ) } </ span > </ a >
13- < a className = 'button' id = 'btn_ok' href = 'javascript:;' > < span > { it . L ( 'OK' ) } </ span > </ a >
12+ < a className = 'button button-secondary' id = 'btn_cancel' href = 'javascript:;' > < span id = 'cancel_btn_text' > { it . L ( 'Cancel' ) } </ span > </ a >
13+ < a className = 'button' id = 'btn_ok' href = 'javascript:;' > < span id = 'ok_btn_text' > { it . L ( 'OK' ) } </ span > </ a >
1414 </ form >
1515 </ div >
1616 < p id = 'dialog_footnote' className = 'invisible hint' />
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const TopUpVirtualPopup = () => (
1414 </ div >
1515 < div className = 'gr-row' >
1616 < div className = 'gr-6' >
17- < a className = 'button button-secondary' id = 'btn_cancel' href = 'javascript:;' > < span > { it . L ( 'Continue trading' ) } </ span > </ a >
17+ < a className = 'button button-secondary' id = 'btn_cancel' href = 'javascript:;' > < span id = 'continue_text' > { it . L ( 'Continue trading' ) } </ span > </ a >
1818 </ div >
1919 < div className = 'gr-6 gr-no-gutter-left' >
2020 < button className = 'button' type = 'submit' id = 'btn_ok' > { it . L ( 'Top up' ) } </ button >
You can’t perform that action at this time.
0 commit comments