Artal Druk 8 gadus atpakaļ
vecāks
revīzija
824e554c70
2 mainītis faili ar 19 papildinājumiem un 2 dzēšanām
  1. 18
    1
      src/ZSSRichTextEditor/style.css
  2. 1
    1
      src/editor.html

+ 18
- 1
src/ZSSRichTextEditor/style.css Parādīt failu

@@ -44,6 +44,12 @@ div.zss_editor_content {
44 44
     height: 100%;
45 45
     -webkit-overflow-scrolling: touch;
46 46
     overflow:auto;
47
+
48
+}
49
+
50
+#zss_editor_content {
51
+    padding-left: 10px;
52
+    padding-right: 10px;
47 53
 }
48 54
 
49 55
 div.zss_editor_title {
@@ -53,9 +59,14 @@ div.zss_editor_title {
53 59
     color: #2d4150;
54 60
 }
55 61
 
62
+#zss_editor_title {
63
+    padding-left: 10px;
64
+    padding-right: 10px;
65
+}
66
+
56 67
 [placeholder]:empty:before {
57 68
     content: attr(placeholder);
58
-    color: #c0c0c0;
69
+    color: #e0e0e0;
59 70
 }
60 71
 
61 72
 [placeholder]:empty:focus:before {
@@ -67,4 +78,10 @@ hr {
67 78
     border: none;
68 79
     height: 1px;
69 80
     background-color: #e7e7e7;
81
+}
82
+
83
+#separatorContainer {
84
+    -webkit-user-select: none;
85
+    padding-left: 10px;
86
+    padding-right: 10px;
70 87
 }

+ 1
- 1
src/editor.html Parādīt failu

@@ -24,7 +24,7 @@
24 24
 	<body onLoad="zss_editor.init();">
25 25
 		<!-- ZSSRichTextEditor Editable Content -->
26 26
 		<div id="zss_editor_title" class="zss_editor_title" contenteditable="true" placeholder="" disableLineBreaks="true"></div>
27
-		<div><hr></div>
27
+		<div id="separatorContainer"><hr></div>
28 28
 		<div id="zss_editor_content" class="zs_editor_content" contenteditable="true" placeholder=""></div>
29 29
 	</body>
30 30
 </html>