project_cryptoverse icon indicating copy to clipboard operation
project_cryptoverse copied to clipboard

"span={6}" issue on Exchange.js Deep Dive

Open vvronskyFX opened this issue 3 years ago • 5 comments

I was getting this issue with alignment of values: image

original code: image

span={6} seemed to be the issue.

Here's what the code can be. Not perfect but it's functional! image

Change out span={6} to style={{ width: "18.9vw" }} inside the <Col />

See new layout w/ iPhone and Desktop: image

image

vvronskyFX avatar Dec 31 '21 07:12 vvronskyFX

It's still a bit buggy on a responsive webpage. Please share & add in with any more efficient functionality. :)

vvronskyFX avatar Dec 31 '21 07:12 vvronskyFX

Exchanges 24h Trade Volume Markets Change {exchangesList.map((exchange) => ( {exchange.rank}. {exchange.name}

                <Col span={6} style={{textAlign:"center"}}>${millify(exchange.volume)}</Col>
                <Col span={6} style={{textAlign:"center"}}>{millify(exchange.numberOfMarkets)}</Col>
                <Col span={6} style={{textAlign:"center"}}>{millify(exchange.marketShare)}%</Col>
              </Row>
              )}
          >
            {HTMLReactParser(exchange.description || '')}
          </Panel>
        </Collapse>
      </Col>
    ))}
        </Row>

web-galtsov avatar Jan 27 '22 13:01 web-galtsov

To acces exchange do we have to take permium plan

vedanksingh avatar Feb 05 '22 11:02 vedanksingh

Exchanges 24h Trade Volume Markets Change {exchangesList.map((exchange) => ( {exchange.rank}. {exchange.name}
                <Col span={6} style={{textAlign:"center"}}>${millify(exchange.volume)}</Col>
                <Col span={6} style={{textAlign:"center"}}>{millify(exchange.numberOfMarkets)}</Col>
                <Col span={6} style={{textAlign:"center"}}>{millify(exchange.marketShare)}%</Col>
              </Row>
              )}
          >
            {HTMLReactParser(exchange.description || '')}
          </Panel>
        </Collapse>
      </Col>
    ))}
        </Row>

You have purchased tha premium plan ?

vedanksingh avatar Feb 05 '22 11:02 vedanksingh

Yes I did, but when I look at the .JSON I don't see the description field

web-galtsov avatar Feb 05 '22 16:02 web-galtsov