File tree Expand file tree Collapse file tree 2 files changed +78
-5
lines changed
DocuSign.MyBusiness/DocuSign.MyBusiness/ClientApp/src Expand file tree Collapse file tree 2 files changed +78
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ <h2 class="page-title admin-title" translate>Admin.Header</h2>
88 < span >
99 < img src ="assets/img/info.png " class ="info-img " alt ="" />
1010 </ span >
11- < span class ="main-text " translate > AdminForm.ShortHelpText
11+ < span class ="main-text ">
12+ < span translate > AdminForm.ShortHelpText</ span >
1213 < div class ="big-text " *ngIf ="isExpandedText " translate > AdminForm.FullHelpText</ div >
1314 </ span >
1415 < span *ngIf ="!isExpandedText " class ="expand-button " (click) ="changeExpandSection() ">
@@ -20,15 +21,15 @@ <h2 class="page-title admin-title" translate>Admin.Header</h2>
2021 < img src ="assets/img/chevron-up-m.png " class ="expandable " alt ="" />
2122 </ span >
2223 </ div >
23- < div >
24+ < div class =" admin-buttons-sm-center " >
2425 < button class ="btn btn-sm btn-connect-account btn-connect-account-margin " (click) ="reset() " translate > ConnectAccountButton< img class ="arrow-up-right " src ="assets/img/arrow-up-right.png " alt ="" /> </ button >
2526 < button class ="btn btn-sm btn-connect-account btn-connect-account-margin " (click) ="connectTestAccount() " translate > UseDemoAccountButton< img class ="arrow-up-right " src ="assets/img/arrow-up-right.png " alt ="" /> </ button >
2627 </ div >
2728
28- < div class ="step-container ">
29+ < div class ="step-container admin-buttons-sm-center ">
2930 < span class ="step-title title-bold pre-step-title " translate > AdminForm.GetFreeTrial</ span >
3031 </ div >
31- < div >
32+ < div class =" admin-buttons-sm-center " >
3233 < button class ="btn btn-new btn-free-trial-margin " (click) ="startFreeTrial() "> < span translate > StartTrialAccountButton</ span >
3334 < span class ="arrow-up-right-container "> < img src ="assets/img/arrow-up-right.png " alt ="" /> </ span > </ button >
3435 </ div >
Original file line number Diff line number Diff line change 385385 right : -21px ;
386386 }
387387 }
388- }
388+ }
389+
390+ @include media-breakpoint-down (xl) {
391+ .text-helper-expand > span {
392+ display : flex ;
393+ align-items : center ; /* Center content vertically within each span */
394+ }
395+
396+ .text-helper-expand > span :nth-child (2 ) {
397+ word-break : break-word ;
398+ overflow-wrap : break-word ;
399+ box-sizing : border-box ;
400+ max-width : 80% ;
401+ min-width : 80% ;
402+ .main-text {
403+ display : block ;
404+ }
405+ }
406+
407+ .text-helper-expand {
408+ display : flex ;
409+ flex-wrap : wrap ;
410+ align-items : center ;
411+
412+ .main-text {
413+ min-width : auto ;
414+
415+ span {
416+ max-width : 80% ;
417+ min-width : 80% ;
418+ }
419+
420+ div {
421+ max-width : 80% ;
422+ min-width : 80% ;
423+ display : block ;
424+ }
425+ }
426+
427+ .expand-button {
428+ flex : 0 0 auto ;
429+ /* Allow these spans to take only the space they need */
430+ margin-right : 10px ;
431+ /* Add some space between the first two spans */
432+ flex : 1 ;
433+ padding-bottom : 16px ;
434+ }
435+ }
436+ }
437+
438+ @include media-breakpoint-down (sm) {
439+ .admin-buttons-sm-center {
440+ display : flex ;
441+ flex-direction : column ;
442+ align-items : center ;
443+ justify-content : center ;
444+ text-align : center ;
445+ }
446+
447+ .text-helper-expand {
448+ display : flex ;
449+ flex-wrap : wrap ; /* Allow items to wrap to the next line */
450+ align-items : center ; /* Align items vertically in the center */
451+ }
452+
453+
454+ .text-helper-expand > span :nth-child (3 ),
455+ .text-helper-expand > span :nth-child (4 ) {
456+ width : 100% ; /* Make these spans take full width in a new row */
457+ margin-top : 10px ; /* Add some space above the new row */
458+ flex : 2 ;
459+ }
460+ }
You can’t perform that action at this time.
0 commit comments