diff --git a/style/module/code_block.css b/style/module/code_block.css index 259c1f9..5a609fb 100644 --- a/style/module/code_block.css +++ b/style/module/code_block.css @@ -19,7 +19,9 @@ .protyle-wysiwyg .code-block .protyle-attr { top: -2px; } - +.protyle-wysiwyg .code-block .protyle-action .protyle-action__language{ + margin-top: 10px +} .protyle-wysiwyg .code-block .protyle-action .b3-tooltips__nw { top: 25px; } diff --git a/style/module/fold.css b/style/module/fold.css index 844f2b4..257b9d7 100644 --- a/style/module/fold.css +++ b/style/module/fold.css @@ -250,7 +250,9 @@ font-size: inherit !important; overflow: visible !important; } - +.protyle-wysiwyg .code-block[fold='1'] .protyle-action .b3-tooltips__nw{ + display: none; +} .protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]):not(.li).code-block .hljs, .protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]):not(.li).code-block .protyle-linenumber__rows { overflow: hidden !important;