Skip to content

Commit

Permalink
Fixes typo (#191)
Browse files Browse the repository at this point in the history
s/overridng/overriding
  • Loading branch information
andreban authored Sep 12, 2022
1 parent 239a177 commit 0f1e31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debugging_overflow_on_images.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ img {

# Solution

If overridng the `overflow` property to `visible` is not intentional, inspect the CSS applied to the element via [devtools](https://developer.chrome.com/docs/devtools/css/#view). This should allow you to identify the CSS declaration which is overriding the `overflow` property to `visible` and update it to `clip` via an additional style sheet rule such as `#myImage { overflow:clip; }`. Note that another common pattern that can inadvertently cause `overflow` to be `visible` is:
If overriding the `overflow` property to `visible` is not intentional, inspect the CSS applied to the element via [devtools](https://developer.chrome.com/docs/devtools/css/#view). This should allow you to identify the CSS declaration which is overriding the `overflow` property to `visible` and update it to `clip` via an additional style sheet rule such as `#myImage { overflow:clip; }`. Note that another common pattern that can inadvertently cause `overflow` to be `visible` is:

```css
img {
Expand Down

0 comments on commit 0f1e31b

Please sign in to comment.