File tree Expand file tree Collapse file tree
packages/extension/src/ui/action/views/network-assets/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 <div class =" network-assets__header__token" >
44 <p >Token</p >
55 </div >
6- <div >
6+ <div class = " network-assets__header__last24h " >
77 <p >Last 24h</p >
88 </div >
99 <div class =" network-assets__header__price" >
1818@import ' @action/styles/theme.less' ;
1919.network-assets {
2020 &__header {
21- padding : 10px 20 px 2px 20 px ;
21+ padding : 10px 24 px 2px 24 px ;
2222 position : relative ;
2323 display : flex ;
24- justify-content : space-between ;
24+ justify-content : flex-start ;
2525 align-items : end ;
2626 flex-direction : row ;
2727 p {
3434 margin : 0 ;
3535 }
3636 &__token {
37- width : 196px ;
37+ flex : 1 ;
38+ min-width : 0 ;
3839 p {
39- padding-left : 48px ;
40+ padding-left : 52px ;
41+ }
42+ }
43+
44+ &__last24h {
45+ width : 80px ;
46+ flex-shrink : 0 ;
47+ p {
48+ text-align : center ;
4049 }
4150 }
4251
4352 &__price {
44- width : 162px ;
53+ width : 90px ;
54+ flex-shrink : 0 ;
4555 p {
4656 text-align : end ;
4757 }
Original file line number Diff line number Diff line change @@ -289,8 +289,8 @@ const toggleDetail = () => {
289289 flex-direction : column ;
290290 align-items : center ;
291291 gap : 4px ;
292- margin : 0 8 px ;
293- min-width : 64 px ;
292+ width : 80 px ;
293+ flex-shrink : 0 ;
294294 }
295295
296296 &__change-badge {
@@ -304,7 +304,6 @@ const toggleDetail = () => {
304304 letter-spacing : 0.02em ;
305305
306306 & .is-positive {
307- background : rgba (34 , 197 , 94 , 0.1 );
308307 color : #16a34a ;
309308
310309 svg {
@@ -314,7 +313,6 @@ const toggleDetail = () => {
314313 }
315314
316315 & .is-negative {
317- background : rgba (239 , 68 , 68 , 0.1 );
318316 color : #dc2626 ;
319317
320318 svg {
@@ -332,7 +330,7 @@ const toggleDetail = () => {
332330 // Value Section
333331 &__value {
334332 text-align : right ;
335- min- width : 90px ;
333+ width : 90px ;
336334 flex-shrink : 0 ;
337335 }
338336
You can’t perform that action at this time.
0 commit comments