use width
instead of max-width
or min-height
instead of max-height
.table .dealer-area {
grid-area: d;
padding-left: 32px;
width: 100%;
}
.table .dealer-area .shell-deck-and-cards{
display: flex;
margin-top: 25px;
}
.table .dealer-area .shell-deck-and-cards img{
width:100%;
max-height:100%;
}
.table .dealer-area .shell-deck-and-cards .deck, .table .dealer-area .shell-deck-and-cards .dealer-cards{
width: 170px;
}
.table .dealer-area .shell-deck-and-cards .deck{
margin-right: calc(100px - (0.3 * 100px));
}
.table .dealer-area .shell-deck-and-cards .dealer-cards {
display: flex;
}
<div class="table">
<div class="dealer-area">
<div class="dealer-name">
<h1>Dealer</h1>
</div>
<div class="shell-deck-and-cards">
<div class="deck">
<img src="https://sites.google.com/a/netcmmi.com/share/_/rsrc/1473734124982/img/png/s/star-e01.png">
</div>
<div class="dealer-cards">
<img src="https://sites.google.com/a/netcmmi.com/share/_/rsrc/1473734124982/img/png/s/star-e01.png">
<img src="https://sites.google.com/a/netcmmi.com/share/_/rsrc/1473734124982/img/png/s/star-e01.png">
<img src="https://sites.google.com/a/netcmmi.com/share/_/rsrc/1473734124982/img/png/s/star-e01.png">
</div>
</div>
</div>
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…