Skip to content

Commit

Permalink
Polish inspector controls generally.
Browse files Browse the repository at this point in the history
This is pending more improvements happening separately in #1440 and #1523.
  • Loading branch information
jasmussen committed Jun 28, 2017
1 parent 17b13d9 commit 3fcb690
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions blocks/library/gallery/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ registerBlockType( 'core/gallery', {
controls,
focus && images.length > 1 && (
<InspectorControls key="inspector">
<p className="editor-block-inspector__description">Image galleries are a great way to share groups of pictures on your site.</p>
<hr />
<h3>{ __( 'Gallery Settings' ) }</h3>
<RangeControl
label={ __( 'Columns' ) }
value={ columns }
Expand Down
6 changes: 6 additions & 0 deletions editor/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
font-size: $default-font-size;
}

hr {
border-top: none;
border-bottom: 1px solid $light-gray-500;
margin: 1.5em 0;
}

ul.components-toolbar {
box-shadow: none;
margin-bottom: $panel-padding;
Expand Down

0 comments on commit 3fcb690

Please sign in to comment.