Procházet zdrojové kódy

Merge pull request #1026 from ckeditor/t/1007

Docs: Aligned collaboration and document demo to the left for wide devices. Closes #1007.
Piotrek Koszuliński před 7 roky
rodič
revize
6c8d9cdc21
1 změnil soubory, kde provedl 11 přidání a 0 odebrání
  1. 11 0
      docs/assets/styles.css

+ 11 - 0
docs/assets/styles.css

@@ -19,3 +19,14 @@
 		max-width: 800px;
 	}
 }
+
+/* https://github.com/ckeditor/ckeditor5/issues/1007 */
+@media only screen and (min-width: 1600px) {
+	.main .main__content.main__content-wide {
+		/*
+		 * `.main__content` by default has 760px width and 340px right padding.
+		 * `.main__content-wide` is 40px wider (800px), that's why we are reducing this right padding.
+		 */
+		padding-right: 300px;
+	}
+}