浏览代码

Added support of 1600px breakpoint for `main__content-wide`.

Damian Konopka 7 年之前
父节点
当前提交
1db024545f
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      docs/assets/styles.css

+ 15 - 0
docs/assets/styles.css

@@ -11,7 +11,22 @@
 
 /* https://github.com/ckeditor/ckeditor5/issues/913 */
 @media only screen and (min-width: 1360px) {
+	.main .main__content.main__content-wide {
+		padding-right: 0;
+	}
+
 	.main .main__content-wide .main__content-inner {
 		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;
+	}
+}