Compare commits

...

2 Commits

Author SHA1 Message Date
Ray Elliott 4e7652bb9a only allow inserting into red-orbital block 2022-07-21 12:53:22 +01:00
Ray Elliott daf7cf9d68 styles 2022-07-21 12:52:48 +01:00
2 changed files with 6 additions and 5 deletions

View File

@ -14,6 +14,7 @@
"editorScript": "file:./index.js", "editorScript": "file:./index.js",
"editorStyle": "file:./index.css", "editorStyle": "file:./index.css",
"style": "file:./style-index.css", "style": "file:./style-index.css",
"parent": ["red-block/red-orbital"],
"attributes": { "attributes": {
"imgSrc": { "imgSrc": {
"type": "string", "type": "string",

View File

@ -8,20 +8,20 @@
display: flex; display: flex;
align-items: center; align-items: center;
list-style: none; list-style: none;
margin-bottom: 16px; margin-bottom: 1px;
padding: 16px; padding: 8px;
.block-editor-inner-blocks > .block-editor-block-list__layout { .block-editor-inner-blocks > .block-editor-block-list__layout {
display: flex; display: flex;
align-items: center; align-items: center;
> * { > * {
max-height: 120px; max-height: 60px;
margin: 16px; margin: 6px;
} }
img { img {
max-height: 120px; max-height: 60px;
width: auto; width: auto;
max-width: 240px; max-width: 240px;
} }