diff --git a/apps/web/src/assets-webkit/styles/serlo-tailwind.css b/apps/web/src/assets-webkit/styles/serlo-tailwind.css index bcad7f4170..9bf8555e12 100644 --- a/apps/web/src/assets-webkit/styles/serlo-tailwind.css +++ b/apps/web/src/assets-webkit/styles/serlo-tailwind.css @@ -3,6 +3,7 @@ @import 'tailwindcss/components'; @import '../../../../../packages/editor/src/tailwind/components.css'; +@import '../../../../../packages/editor/src/tailwind/utilities.css'; @import './components.css'; @import 'tailwindcss/utilities'; diff --git a/packages/editor/src/editor-ui/embed-wrapper.tsx b/packages/editor/src/editor-ui/embed-wrapper.tsx index 8fe0f76056..5dc70764c4 100644 --- a/packages/editor/src/editor-ui/embed-wrapper.tsx +++ b/packages/editor/src/editor-ui/embed-wrapper.tsx @@ -48,8 +48,8 @@ export function EmbedWrapper({
-
+
-
+
{introduction}
{content} diff --git a/packages/editor/src/plugins/box/editor.tsx b/packages/editor/src/plugins/box/editor.tsx index e16aa2cbc9..aea30ab047 100644 --- a/packages/editor/src/plugins/box/editor.tsx +++ b/packages/editor/src/plugins/box/editor.tsx @@ -67,7 +67,6 @@ export function BoxEditor(props: BoxProps) { ` [&_.plugin-toolbar]:ml-[-2px] [&_.plugin-toolbar]:mr-[-16px] - [&_.plugin-toolbar]:rounded-none [&_.rows-child:first-child_.plugin-toolbar:before]:hidden ` )} diff --git a/packages/editor/src/plugins/box/renderer.tsx b/packages/editor/src/plugins/box/renderer.tsx index ddfd9b2c12..15649fbe66 100644 --- a/packages/editor/src/plugins/box/renderer.tsx +++ b/packages/editor/src/plugins/box/renderer.tsx @@ -59,8 +59,8 @@ export function BoxRenderer({ id={anchorId} className={cn( ` - serlo-box relative mx-side mb-6 - rounded-xl border-3 pb-2 pt-[2px] + serlo-box relative mb-6 + rounded-lg border-3 pb-2 pt-[2px] [&>div.my-block]:first:mt-3.5 [&>div.my-block]:last:mb-3.5 `, diff --git a/packages/editor/src/plugins/box/toolbar.tsx b/packages/editor/src/plugins/box/toolbar.tsx index 035486817e..63e54416ec 100644 --- a/packages/editor/src/plugins/box/toolbar.tsx +++ b/packages/editor/src/plugins/box/toolbar.tsx @@ -37,7 +37,7 @@ export const BoxToolbar = ({ id, state }: BoxProps) => { } pluginControls={} - className="!left-[21px] top-[-33px] w-[calc(100%-37px)]" + className="!left-[5px] top-[-31px] w-[calc(100%-5px)]" /> ) } diff --git a/packages/editor/src/plugins/highlight/editor.tsx b/packages/editor/src/plugins/highlight/editor.tsx index 84a3726a75..e1d8b94389 100644 --- a/packages/editor/src/plugins/highlight/editor.tsx +++ b/packages/editor/src/plugins/highlight/editor.tsx @@ -34,16 +34,18 @@ export function HighlightEditor(props: HighlightProps) { if (!throttledEdit && !focused) { return ( - +
+ +
) } return ( -
+
{focused && }