Skip to content

Commit b84e086

Browse files
authored
Merge pull request wix-incubator#18 from philpettican/bugfix/horizontal-scrollbar
Default CSS causes horizontal scrollbar
2 parents 8ffaa1d + 007ac5b commit b84e086

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

src/assets/editor.html

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,23 +1690,15 @@
16901690
}
16911691

16921692
body {
1693-
padding-left:10px;
1694-
padding-right:10px;
1695-
padding-top: 0px;
1696-
padding-bottom: 0px;
16971693
overflow-y: scroll;
16981694
-webkit-overflow-scrolling: touch;
16991695
height: 100%;
17001696
}
17011697

1702-
img.zs_active {
1703-
/*border: 2px dashed #000;*/
1704-
}
1705-
17061698
img {
17071699
max-width: 98%;
1708-
margin-left:auto;
1709-
margin-right:auto;
1700+
margin-left: auto;
1701+
margin-right: auto;
17101702
display: block;
17111703
}
17121704

@@ -1720,27 +1712,17 @@
17201712
width: 100%;
17211713
height: 100%;
17221714
-webkit-overflow-scrolling: touch;
1723-
overflow:auto;
1715+
overflow: auto;
17241716

17251717
}
17261718

1727-
#zss_editor_content {
1728-
padding-left: 10px;
1729-
padding-right: 10px;
1730-
}
1731-
17321719
div.zss_editor_title {
17331720
font-family: 'Helvetica Neue Light', sans-serif;
17341721
font-size: 23px;
17351722
line-height: 31px;
17361723
color: #2d4150;
17371724
}
17381725

1739-
#zss_editor_title {
1740-
padding-left: 10px;
1741-
padding-right: 10px;
1742-
}
1743-
17441726
[placeholder]:empty:before {
17451727
content: attr(placeholder);
17461728
color: #e0e0e0;

0 commit comments

Comments
 (0)