浏览代码

fix: html iframe style issues

Peng Xiao 3 年之前
父节点
当前提交
c4d4046daf
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      tldraw/apps/tldraw-logseq/src/styles.css

+ 6 - 4
tldraw/apps/tldraw-logseq/src/styles.css

@@ -287,6 +287,7 @@ button.tl-select-input-trigger {
 
 .tl-select-input-content {
   z-index: 100;
+  font-family: var(--ls-font-family);
 }
 
 .tl-geometry-tools-pane-anchor {
@@ -638,11 +639,12 @@ button.tl-select-input-trigger {
 .tl-html-container {
   @apply h-full w-full m-0 relative;
   user-select: text;
+}
 
-  > iframe {
-    @apply h-full w-full !important;
-    margin: 0;
-  }
+.tl-html-anchor,
+.tl-html-anchor > iframe {
+  @apply h-full w-full !important;
+  margin: 0;
 }
 
 .tl-video-container {