From bf4d0528971fe42f9ce4efebb05348ef12307bd4 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Mon, 28 Mar 2022 10:44:43 +0200 Subject: [PATCH] fix(techdocs): code block margins Signed-off-by: Camila Belo --- plugins/techdocs/src/reader/components/Reader.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/techdocs/src/reader/components/Reader.tsx b/plugins/techdocs/src/reader/components/Reader.tsx index 5391863b50..02a7929539 100644 --- a/plugins/techdocs/src/reader/components/Reader.tsx +++ b/plugins/techdocs/src/reader/components/Reader.tsx @@ -576,6 +576,10 @@ export const useTechDocsReaderDom = ( .md-content__inner { margin: 0; } + .md-content__inner .highlighttable { + max-width: 100%; + margin: 1em 0; + } .md-header__button { margin: 0.4rem 0; @@ -707,7 +711,7 @@ export const useTechDocsReaderDom = ( .highlight .md-clipboard:after { content: unset; } - + .highlight .nx { color: ${isDarkTheme ? '#ff53a3' : '#ec407a'}; }