5
I solved the problem by setting the following css code on my ion-card :
ion-card {
max-height: 100%;
display: flex;
flex-direction: column;
}
I also removed the ion-card-content element, and apply the following css code on the ion-list :
ion-list {
overflow: hidden;
overflow-y: auto;
::-webkit-scrollbar {
display: none;
}
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…