| @@ -17,8 +17,18 @@ | ||
| 17 | 17 | min-height: 0; |
| 18 | 18 | min-width: 0; |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | +/* The editor embedded in the "Add New" tab — `wp.os.embedAdminPage()` | |
| 22 | + * puts a full-size iframe in here, so the host has to be the panel's | |
| 23 | + * whole box rather than shrink to a zero-height child. */ | |
| 24 | +.os-posts__embed-host { | |
| 25 | + display: flex; | |
| 26 | + flex: 1 1 auto; | |
| 27 | + min-height: 0; | |
| 28 | + min-width: 0; | |
| 29 | +} | |
| 30 | + | |
| 21 | 31 | /* --------------------------------------------------------------- |
| 22 | 32 | * The term canvas: a toolbar across the top, the Pixi stage on the |
| 23 | 33 | * left, a fixed-width sidebar editor on the right. The Pixi side |
| 24 | 34 | * paints the terms, the post satellites and the pager into the |
| @@ -425,8 +435,16 @@ | ||
| 425 | 435 | font-size: 13px; |
| 426 | 436 | font-style: italic; |
| 427 | 437 | text-align: center; |
| 428 | 438 | padding: 0 24px; |
| 439 | +} | |
| 440 | + | |
| 441 | +/* The mind map shows its hint while the default category's disc sits | |
| 442 | + at the centre, so the hint goes under the stage's bottom edge | |
| 443 | + rather than across the disc. */ | |
| 444 | +.os-mindmap .os-term-canvas__empty { | |
| 445 | + align-items: flex-end; | |
| 446 | + padding-bottom: 28px; | |
| 429 | 447 | } |
| 430 | 448 | |
| 431 | 449 | /* |
| 432 | 450 | * The canvas keeps a 320px editor beside the stage on a desk. A phone |