Commit e4f1fee 1 parent 66ae8b9 commit e4f1fee Copy full SHA for e4f1fee
File tree 5 files changed +14
-8
lines changed
5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ const Button = styled.button<{
50
50
}
51
51
52
52
&:disabled {
53
- border-color: ${ theme . colors . borderSecondary } ;
53
+ border-color: ${ theme . colors . textDisabled } ;
54
54
background: ${ theme . colors . borderSecondary } ;
55
- color: ${ theme . colors . textDisabled } ;
55
+ color: ${ theme . colors . textSecondary } ;
56
56
}
57
57
` ;
58
58
case red :
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ const TokenIcon = styled.img`
204
204
205
205
const DialogStyled = styled ( Dialog ) `
206
206
${ media . mobile } {
207
- height: 100vh ;
207
+ height: 100% ;
208
208
padding: 24px 0;
209
209
}
210
210
` ;
@@ -217,8 +217,8 @@ const DialogTitleStyled = styled(SmartFlex)`
217
217
218
218
const DialogContainerStyled = styled ( SmartFlex ) `
219
219
${ media . mobile } {
220
- height: 90vh ;
221
- padding-bottom: 0 ;
220
+ height: 100% ;
221
+ padding-bottom: 30px ;
222
222
}
223
223
` ;
224
224
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class AccountStore {
85
85
try {
86
86
await bcNetwork ! . addAssetToWallet ( assetId ) ;
87
87
} catch ( error : any ) {
88
- notificationStore . toast ( createToast ( { text : error } ) , { type : "error" } ) ;
88
+ notificationStore . toast ( createToast ( { text : error . message } ) , { type : "error" } ) ;
89
89
}
90
90
} ;
91
91
Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ class TradeStore {
174
174
const bcNetwork = blockchainStore . currentInstance ;
175
175
176
176
try {
177
- const markets = await bcNetwork ! . fetchPerpAllMarkets ( ) ;
178
- this . setPerpMarkets ( markets ) ;
177
+ // const markets = await bcNetwork!.fetchPerpAllMarkets();
178
+ this . setPerpMarkets ( [ ] ) ;
179
179
} catch ( error ) {
180
180
console . error ( "[PERP] Error init perp market" , error ) ;
181
181
}
Original file line number Diff line number Diff line change @@ -38,11 +38,17 @@ const globalModalStyles = (theme: Theme) => css`
38
38
.rc-dialog-content {
39
39
border-radius : 10px ;
40
40
background : ${ theme . colors . bgSecondary } ;
41
+ height : 100% ;
41
42
}
42
43
43
44
.rc-dialog-body {
44
45
padding : 0 ;
45
46
box-sizing : border-box;
47
+ height : 100% ;
48
+ // use direct child selector to set styles for the 3rd party library div
49
+ > div {
50
+ height : 100% ;
51
+ }
46
52
}
47
53
48
54
.rc-dialog-header {
You can’t perform that action at this time.
0 commit comments