Fix image sizing to prevent grid overflow on mobile
Add width: 100% and box-sizing: border-box to base image rule to ensure images properly fit within their grid containers and don't extend outside grid cells.
This commit is contained in:
parent
b84be0a727
commit
aafe7c4224
1 changed files with 2 additions and 0 deletions
|
|
@ -236,8 +236,10 @@ section.logo{
|
|||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue