File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,11 @@ export class NgmIonModal extends LitElementI18n {
144
144
render ( ) {
145
145
return html `
146
146
<h2 class= "header" > ${ i18next . t ( 'dtd_add_ion_token' ) } </ h2>
147
- <div class= "content" >
147
+ <div
148
+ class= "content ${ classMap ( {
149
+ 'has-table' : this . assetsToDisplay . length !== 0 ,
150
+ } ) } "
151
+ >
148
152
<div .hidden = ${ this . assets . length } >
149
153
<ngm- cor e-info- panel
150
154
.icon = ${ 'info' }
@@ -297,6 +301,10 @@ export class NgmIonModal extends LitElementI18n {
297
301
margin-bottom : 84px ;
298
302
}
299
303
304
+ .content .has-table {
305
+ padding-bottom : 0 ;
306
+ }
307
+
300
308
.token-input {
301
309
display : flex;
302
310
gap : 12px ;
@@ -333,7 +341,8 @@ export class NgmIonModal extends LitElementI18n {
333
341
}
334
342
335
343
.table-container {
336
- max-height : 500px ;
344
+ max-height : calc (80vh - calc (24px * 16 ));
345
+ padding-bottom : 24px ;
337
346
overflow-y : scroll;
338
347
}
339
348
You can’t perform that action at this time.
0 commit comments