Skip to content

Commit

Permalink
modifying the CSS to account for narrow screens (to match with core)
Browse files Browse the repository at this point in the history
  • Loading branch information
norcross committed Jan 16, 2017
1 parent 450bb05 commit 241dda0
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 12 deletions.
7 changes: 7 additions & 0 deletions css/cmb2-front-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/cmb2-front-rtl.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions css/cmb2-front.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/cmb2-front.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/cmb2-front.min.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions css/cmb2-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,8 @@ Context Metaboxes
margin-bottom: 0;
}

/* one column on the post write/edit screen */

/*--------------------------------------------------------------
Misc.
--------------------------------------------------------------*/
Expand Down Expand Up @@ -1836,6 +1838,16 @@ Sidebar Placement Adjustments

/*# sourceMappingURL=cmb2.css.map */

@media only screen and (max-width: 850px) {

/* line 45, sass/partials/_context_metaboxes.scss */

.cmb2-context-wrap.cmb2-context-wrap-form_top {
margin-left: 0;
}

}

@media (max-width: 450px) {

/* line 209, sass/partials/_main_wrap.scss */
Expand Down
2 changes: 1 addition & 1 deletion css/cmb2-rtl.min.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions css/cmb2.css
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,8 @@ Context Metaboxes
margin-bottom: 0;
}

/* one column on the post write/edit screen */

/*--------------------------------------------------------------
Misc.
--------------------------------------------------------------*/
Expand Down Expand Up @@ -1836,6 +1838,16 @@ Sidebar Placement Adjustments

/*# sourceMappingURL=cmb2.css.map */

@media only screen and (max-width: 850px) {

/* line 45, sass/partials/_context_metaboxes.scss */

.cmb2-context-wrap.cmb2-context-wrap-form_top {
margin-right: 0;
}

}

@media (max-width: 450px) {

/* line 209, sass/partials/_main_wrap.scss */
Expand Down
2 changes: 1 addition & 1 deletion css/cmb2.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/cmb2.min.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions css/sass/partials/_context_metaboxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ Context Metaboxes
}

}

/* one column on the post write/edit screen */
@media only screen and (max-width: 850px) {

.cmb2-context-wrap.cmb2-context-wrap-form_top {
margin-right: 0;
}

}
12 changes: 6 additions & 6 deletions languages/cmb2.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ msgid ""
msgstr ""
"Project-Id-Version: CMB2 2.2.3.1\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/cmb2\n"
"POT-Creation-Date: 2017-01-15 19:27:41+00:00\n"
"POT-Creation-Date: 2017-01-16 16:33:18+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-1-15 19:27+300\n"
"PO-Revision-Date: 2017-1-16 16:33+300\n"
"Last-Translator: WebDevStudios [email protected]\n"
"Language-Team: WebDevStudios [email protected]\n"
"X-Generator: grunt-wp-i18n 0.4.9\n"
Expand Down Expand Up @@ -334,11 +334,11 @@ msgstr ""
msgid "Will show in REST API \"editable\" contexts only (`POST` requests)."
msgstr ""

#: includes/CMB2.php:117
#: includes/CMB2.php:127
msgid "Metabox configuration is required to have an ID parameter."
msgstr ""

#: includes/CMB2.php:435
#: includes/CMB2.php:470
msgid "Click to toggle"
msgstr ""

Expand Down Expand Up @@ -525,13 +525,13 @@ msgstr ""
msgid "Add Row"
msgstr ""

#: includes/CMB2_hookup.php:157
#: includes/CMB2_hookup.php:148
msgid ""
"Term Metadata is a WordPress 4.4+ feature. Please upgrade your WordPress "
"install."
msgstr ""

#: includes/CMB2_hookup.php:161
#: includes/CMB2_hookup.php:152
msgid "Term metaboxes configuration requires a \"taxonomies\" parameter."
msgstr ""

Expand Down

0 comments on commit 241dda0

Please sign in to comment.