فهرست منبع

Updating the width of entry title across style packs.

alaczek 7 سال پیش
والد
کامیت
f351d92e5b

+ 11 - 0
radcliffe-2/assets/css/editor-style-colorful.css

@@ -2,6 +2,17 @@
 Editor Styles for Radcliffe 2: Colorful Style Pack
 --------------------------------------------------------------*/
 
+/* Widths */
+@media screen and (min-width: 768px) {
+	.edit-post-visual-editor textarea.editor-post-title__input {
+		margin-left: auto;
+		margin-right: auto;
+		padding: 0 0 72px;
+		max-width: 92%;
+		width: 1040px;
+	}
+}
+
 /*--------------------------------------------------------------
 # Typography
 --------------------------------------------------------------*/

+ 9 - 3
radcliffe-2/assets/css/editor-style-modern.css

@@ -1,6 +1,15 @@
 /*!
 Editor Styles for Radcliffe 2: Modern Style Pack
 --------------------------------------------------------------*/
+/* Widths */
+@media screen and (min-width: 768px) {
+	/* Post/Page title */
+	.edit-post-visual-editor textarea.editor-post-title__input {
+		max-width: 740px;
+		margin-left: auto;
+		margin-right: auto;
+	}
+}
 
 /*--------------------------------------------------------------
 # Typography
@@ -40,9 +49,6 @@ h6.mce-content-body,
 
 /* Post/Page title */
 .edit-post-visual-editor textarea.editor-post-title__input {
-	max-width: 740px;
-	margin-left: auto;
-	margin-right: auto;
 	padding: 0 0 72px;
 	text-align: left;
 }

+ 1 - 0
radcliffe-2/assets/css/editor-style-vintage.css

@@ -13,6 +13,7 @@ Editor Styles for Radcliffe 2: Vintage Style Pack
 	.edit-post-visual-editor textarea.editor-post-title__input {
 		margin-left: auto;
 		margin-right: auto;
+		padding: 0 0 72px;
 		width: 740px;
 	}
 }

+ 1 - 1
radcliffe-2/assets/css/editor-style.css

@@ -1,5 +1,5 @@
 /*!
-Editor Styles for Ohana
+Editor Styles for Radcliffe 2
 --------------------------------------------------------------*/
 
 /* Widths */