diff --git a/packages/drupal/gutenberg_blocks/css/edit.css b/packages/drupal/gutenberg_blocks/css/edit.css index f4dd2c543..f4a49c277 100644 --- a/packages/drupal/gutenberg_blocks/css/edit.css +++ b/packages/drupal/gutenberg_blocks/css/edit.css @@ -10,4 +10,28 @@ .gutenberg__editor blockquote::before, .gutenberg__editor blockquote::after { content: ''; +} + +.gutenberg__editor .container-wrapper { + display: block; + position: relative; + margin: 40px 0; + border-left: 34px solid #666666; + padding-left: 10px; + min-height: 250px; +} + +.gutenberg__editor .container-wrapper .container-label { + font: bold 12px Sans-Serif; + letter-spacing: 2px; + text-transform: uppercase; + color: #fff; + padding: 5px 10px; + margin: 0 0 10px 0; + line-height: 24px; + position: absolute; + top: 0; + left: 0; + transform-origin: 0 0; + transform: rotate(90deg); } \ No newline at end of file diff --git a/packages/drupal/gutenberg_blocks/src/blocks/hero.tsx b/packages/drupal/gutenberg_blocks/src/blocks/hero.tsx index 12fd053a3..e87401af8 100644 --- a/packages/drupal/gutenberg_blocks/src/blocks/hero.tsx +++ b/packages/drupal/gutenberg_blocks/src/blocks/hero.tsx @@ -182,7 +182,8 @@ registerBlockType('custom/hero', {