瀏覽代碼

Minor fixes in manual test.

Kuba Niegowski 5 年之前
父節點
當前提交
76a48bd717

+ 6 - 4
packages/ckeditor5-engine/tests/manual/slotconversion.html

@@ -22,13 +22,15 @@
 			border: 1px solid hsl(0, 0%, 80%)
 		}
 
+		.ck.ck-content [data-insert-count] {
+			position: relative;
+		}
 		.ck.ck-content [data-insert-count]:after {
 			content: attr(data-insert-count);
-			position: relative;
+			position: absolute;
 			font-size: 10px;
-			top: -5px;
-			right: 0;
-			float: right;
+			top: 2px;
+			right: 2px;
 			border: 1px solid hsl(219, 86%, 31%);
 			background: hsl(219, 100%, 91%);
 			padding: 0 2px;

+ 1 - 1
packages/ckeditor5-engine/tests/manual/slotconversion.md

@@ -7,6 +7,6 @@ An additional converter adds `"data-insert-count"` attribute to view elements to
 Observe which view elements are re-rendered when using UI-buttons:
 
 * `Box title` - updates title attribute which triggers re-rendering of a "box".
-* `Box title` - updates author attribute which triggers re-rendering of a "box".
+* `Box author` - updates author attribute which triggers re-rendering of a "box".
 * `+` - adds "slot" to box"  which triggers re-rendering of a "box".
 * `-` - removes "slot" from box" which triggers re-rendering of a "box".