Procházet zdrojové kódy

1.解决当pdf组件多出一个块canvas的问题。

jiaxiaoqiang před 10 měsíci
rodič
revize
f7d2e4d6dd
1 změnil soubory, kde provedl 12 přidání a 0 odebrání
  1. 12 0
      src/styles/index.scss

+ 12 - 0
src/styles/index.scss

@@ -1,18 +1,22 @@
 @use "./reset";
 @use "./transition";
+
 .app-container {
   padding: 10px;
 }
+
 .el-button-big {
   height: 80px !important;
   border-radius: 40px !important;
   font-size: $f24 !important;
 }
+
 .el-button-update {
   height: 80px !important;
   border-radius: 16px !important;
   font-size: $f24 !important;
 }
+
 .search-container {
   padding: 18px 0 0 10px;
   margin-bottom: 10px;
@@ -73,10 +77,12 @@
   gap: 20px;
   grid-template-columns: 1fr 1fr;
 }
+
 .stepsViewScrollH {
   width: calc((100vw / 6 * 5) - 50px);
   height: calc(100vh - 254px);
 }
+
 //search框样式
 .searchInput {
   height: 50px;
@@ -85,6 +91,7 @@
   border: 1px solid #00000025;
   font-size: $f24;
   color: #00000080;
+
   .el-input {
     --el-input-focus-border: none;
     --el-input-hover-border: none;
@@ -260,3 +267,8 @@
   font-size: $p20;
   color: black;
 }
+
+//解决当pdf组件中,,有写pdf会导致页面右侧多出一个黑色块的canvas
+.hiddenCanvasElement {
+  display: none;
+}