From 128b35134c876f2eed94420a4ce9840c8c316561 Mon Sep 17 00:00:00 2001 From: purocean Date: Mon, 13 Dec 2021 23:42:24 +0800 Subject: [PATCH] upd(drawio): update styles --- src/renderer/plugins/markdown-mind-map.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/plugins/markdown-mind-map.ts b/src/renderer/plugins/markdown-mind-map.ts index 9e4df6c1..dcf86419 100644 --- a/src/renderer/plugins/markdown-mind-map.ts +++ b/src/renderer/plugins/markdown-mind-map.ts @@ -289,7 +289,7 @@ const init = (ele: HTMLElement) => { const action = document.createElement('div') action.className = 'no-print' - action.style.cssText = 'position: absolute; right: 10px; top: 3px; z-index: 1; text-align: right' + action.style.cssText = 'position: absolute; right: 10px; top: 3px; z-index: 1; text-align: right; background: transparent;' action.appendChild(buildButton(t('mind-map.zoom-in'), zoomIn, 'zoomIn')) action.appendChild(buildButton(t('mind-map.zoom-out'), zoomOut, 'zoomOut')) action.appendChild(buildButton(t('mind-map.switch-layout'), switchLayout, 'switchLayout'))