I recently created a website that looks perfect on desktop but appears cropped on mobile devices.
The site in question is doc.awsri.com
Here are the images causing the issue:
https://i.stack.imgur.com/eRJXU.png The problem arises when viewing it on a phone.
https://i.stack.imgur.com/91vjv.png I need to adjust the CSS to prevent this from happening.
<div class="col-md-3 margin30">
<div class="default-wrap wow animated fadeInDown animated" style="visibility: visible; animation-name: fadeInDown;">
<div class="img">
<img src="http://doc.awsri.com/uploads/client/1545150130__FB_IMG_1545145675717 (2).jpg" class="img-responsive" alt="">
</div><!--person image-->
<div class="description">
<h4>The man</h4>
<span>ready to go</span>
</div><!--desrciption-->
</div><!--default-wrap-->
</div>
Could the fixed height of 200px
be causing the issue?
.process-box a img, .default-wrap .img img {
object-fit: cover;
height: 200px;
width: 100%;
}
Would removing this height fix the problem?