Skip to content

Commit eae938b

Browse files
GWEI fixed - indentation issue persists
Signed-off-by: AyushRajSinghParihar <ayushrajparihar222sp@gmail.com>
1 parent 378ec12 commit eae938b

2 files changed

Lines changed: 27 additions & 3 deletions

File tree

frontend/src/app/web3-sandbox/web3-sandbox.component.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ <h4>Compiler Errors:</h4>
5656
</div>
5757
<div *ngIf="compiledContracts">
5858
<h3 class="contracts-title">{{ "TITLE_CONTRACT_DEPLOYMENT" | translate}}</h3>
59+
<div class="form-fields-container">
5960
<mat-form-field
60-
style="width: 45%; margin-right: 10%"
61+
class="contract-selector"
6162
appearance="outline"
6263
color="accent"
6364
>
@@ -71,14 +72,19 @@ <h3 class="contracts-title">{{ "TITLE_CONTRACT_DEPLOYMENT" | translate}}</h3>
7172
</option>
7273
</select>
7374
</mat-form-field>
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>
7581
<input
7682
matInput
7783
type="number"
78-
[placeholder]="'GWEI_VALUE_FOR_SENDING_ETH' | translate"
7984
[(ngModel)]="commonGweiValue"
8085
/>
8186
</mat-form-field>
87+
</div>
8288
<button
8389
mat-raised-button
8490
type="button"

frontend/src/app/web3-sandbox/web3-sandbox.component.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)