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",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"parent": ["red-block/red-orbital"],
"attributes": {
"imgSrc": {
"type": "string",

View File

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