Changeset 2180409
- Timestamp:
- 10/25/2019 10:43:02 PM (6 years ago)
- Location:
- slide/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
slide/trunk/common.css
r2178439 r2180409 160 160 font-size: 2em !important; 161 161 } 162 163 .alignfull img, 164 .alignfull video, 165 .alignwide img, 166 .alignwide video { 167 width: 100%; 168 display: block; 169 } 170 171 .wp-block-slide-slide *:last-child { 172 margin-bottom: 0 !important; 173 } -
slide/trunk/index.css
r2177066 r2180409 46 46 .wp-block[data-align=wide] { 47 47 max-width: none; 48 } 49 50 .wp-block[data-align="wide"] video, 51 .wp-block[data-align="full"] video { 52 width: 100%; 53 display: block; 48 54 } 49 55 … … 105 111 left: 0; 106 112 right: 0; 113 background-repeat: no-repeat; 107 114 } 108 115 -
slide/trunk/index.js
r2180213 r2180409 19 19 const { PluginDocumentSettingPanel } = editPost; 20 20 const { useSelect, useDispatch, subscribe, select, dispatch } = data; 21 const { TextareaControl, ColorPicker,PanelBody, RangeControl, SelectControl, ToggleControl, Button, FocalPointPicker, ExternalLink, Notice, TextControl, RadioControl } = components;21 const { TextareaControl, PanelBody, RangeControl, SelectControl, ToggleControl, Button, FocalPointPicker, ExternalLink, Notice, TextControl, RadioControl } = components; 22 22 const { MediaUpload, __experimentalGradientPickerControl, InnerBlocks, InspectorControls, RichTextToolbarButton, ColorPalette } = blockEditor; 23 23 const { addQueryArgs } = url; … … 554 554 }, 555 555 backgroundOpacity: { 556 type: 'string' 557 }, 558 backgroundSize: { 556 559 type: 'string' 557 560 }, … … 664 667 backgroundUrl: undefined, 665 668 backgroundId: undefined, 669 backgroundSize: undefined, 666 670 focalPoint: undefined