File tree Expand file tree Collapse file tree
frontend/src/app/web3-sandbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,29 +56,35 @@ <h4>Compiler Errors:</h4>
5656 </ div >
5757 < div *ngIf ="compiledContracts ">
5858 < h3 class ="contracts-title "> {{ "TITLE_CONTRACT_DEPLOYMENT" | translate}}</ h3 >
59- < mat-form-field
60- style ="width: 45%; margin-right: 10% "
61- appearance ="outline "
62- color ="accent "
63- >
64- < mat-label > {{ "LABEL_COMPILED_CONTRACTS" | translate}}</ mat-label >
65- < select matNativeControl [(ngModel)] ="selectedContractName ">
66- < option
67- *ngFor ="let contractName of contractNames "
68- [value] ="contractName "
69- >
70- {{ contractName }}
71- </ option >
72- </ select >
73- </ mat-form-field >
74- < mat-form-field >
75- < input
76- matInput
77- type ="number "
78- [placeholder] ="'GWEI_VALUE_FOR_SENDING_ETH' | translate "
79- [(ngModel)] ="commonGweiValue "
80- />
81- </ mat-form-field >
59+ < div class ="form-fields-container ">
60+ < mat-form-field
61+ class ="contract-selector "
62+ appearance ="outline "
63+ color ="accent "
64+ >
65+ < mat-label > {{ "LABEL_COMPILED_CONTRACTS" | translate}}</ mat-label >
66+ < select matNativeControl [(ngModel)] ="selectedContractName ">
67+ < option
68+ *ngFor ="let contractName of contractNames "
69+ [value] ="contractName "
70+ >
71+ {{ contractName }}
72+ </ option >
73+ </ select >
74+ </ mat-form-field >
75+ < mat-form-field
76+ class ="gwei-input "
77+ appearance ="outline "
78+ color ="accent "
79+ >
80+ < mat-label > {{ "GWEI_VALUE_FOR_SENDING_ETH" | translate }}</ mat-label >
81+ < input
82+ matInput
83+ type ="number "
84+ [(ngModel)] ="commonGweiValue "
85+ />
86+ </ mat-form-field >
87+ </ div >
8288 < button
8389 mat-raised-button
8490 type ="button "
Original file line number Diff line number Diff line change @@ -118,3 +118,21 @@ ul {
118118 font-weight : 500 ;
119119 margin-top : 16px ;
120120}
121+
122+ .form-fields-container {
123+ display : flex ;
124+ flex-wrap : wrap ;
125+ gap : 16px ;
126+ margin-bottom : 16px ;
127+ width : 100% ;
128+ }
129+
130+ .contract-selector {
131+ flex : 1 1 60% ;
132+ min-width : 200px ;
133+ }
134+
135+ .gwei-input {
136+ flex : 1 1 30% ;
137+ min-width : 150px ;
138+ }
You can’t perform that action at this time.
0 commit comments