Przeglądaj źródła

Added document-like styles.

dkonopka 5 lat temu
rodzic
commit
1740813d0d

+ 28 - 0
packages/ckeditor5-paste-from-office/docs/_snippets/features/paste-from-office.html

@@ -1 +1,29 @@
+<style>
+	.ck.ck-editor__main {
+		background: #eee;
+		padding: 5rem 10rem;
+		overflow-y: auto;
+		max-height: 700px;
+		border: 1px solid #c4c4c4;
+	}
+
+	.ck-content.ck-editor__editable {
+		width: 21cm;
+		max-width: 100%;
+		min-height: 29.7cm;
+		margin: 0 auto;
+		padding: 2cm;
+		border: 1px hsl( 0, 0%, 82.7% ) solid;
+		background-color: #fff;
+		box-shadow: 0 0 5px hsla( 0, 0%, 0%, .1 );
+	}
+
+	@media screen and (max-width: 1100px ) {
+		.ck.ck-editor__main,
+		.ck-content.ck-editor__editable {
+			padding: 30px;
+		}
+	}
+</style>
+
 <div id="snippet-paste-from-office"></div>