Fix embed overflow: add box-sizing border-box with padding
Padding without border-box caused content to overflow the iframe since body has min-width: 100%.
This commit is contained in:
parent
a6ee451069
commit
89644d2117
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ body {
|
|||
margin-right: 0px;
|
||||
margin-bottom: 16px;
|
||||
padding: 0 8px;
|
||||
box-sizing: border-box;
|
||||
|
||||
/* This is a hack for iOS to prevent overflow on ipads and phones */
|
||||
width: 1px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue