Hey friends, Please can anyone help me here, I’m working on a cryptocurrency tracker app, everything works fine on web view but on mobile(https://coinstracker.netlify.app/ ), the crypto images and their names are not displaying mobile and I think the issue is from CSS. please can anyone help me?
coin.css
.coin-container{
display: flex;
justify-content: center;
}
/* @media (max-width: 1000px) {
.coin-container {
display: flex;
justify-content: center;
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
}
@media (max-width: 840px) {
.coin-container {
display: flex;
justify-content: center;
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
} */
.coin-row{
display: flex;
flex-direction: row;
justify-items: start;
align-items: center;
height: 80px;
border-bottom: 1px solid #d7d7d7;
width: 900px;
}
.coin{
display: flex;
align-items: center;
padding-right: 24px;
min-width: 300px;
position: sticky;
}
.coin h1{
font-size: 14px;
width: 150px;
position: sticky;
}
.coin img {
height: 30px;
width: 30px;
margin-right: 10px;
position: sticky;
}
.coin-symbol{
text-transform: uppercase;
font-size: .875rem;
}
.coin-data{
display: flex;
text-align: center;
justify-content: space-between;
width: 100%;
font-size: .875rem;
}
.coin-price{
width: 110px;
font-size: .875rem;
}
.coin-volume{
width: 100%;
}
.coin-marketcap{
width: 150px;
font-size: .875rem;
}
.coin-percent{
width: 100%;
}
.red{
color: #f00606
}
.green{
color: #11d811
}
app.css
@import url('https://fonts.googleapis.com/css2family=Monsterrat&display=swap');
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Monsterrat', sans-serif;
background-color: #1a1a1c;
color: #fff;
}
.coin-app{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 64px;
color: #fff;
}
@media (max-width: 1000px) {
.coin-app {
width: 758px;
}
}
@media (max-width: 840px) {
.coin-app {
width: 100%;
padding: 0 20px;
}
}
.coin-search{
margin-bottom: 64px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.coin-text{
margin-bottom: 32px;
text-align: center;
}
.coin-input {
padding-left: 16px;
width: 300px;
height: 50px;
border-radius: 4px;
border: none;
background-image: linear-gradient(
-225deg,
#ac32e4 0%,
#7918f2 48%,
#4801ff 100%
);
color: #e2e2e2;
}
.coin-input::placeholder{
color: #e2e2e2;
}