Ver Fonte

aitext css

bianjiang há 1 ano atrás
pai
commit
2edbdb48ce

+ 1 - 1
src/modules/editor/components/CompUI/basicUI/Page/PageMusic.tsx

@@ -399,7 +399,7 @@ const AudioPlayerStyle = css`
   }
 `;
 const MusicStyle = css`
-  position: absolute;
+  position: fixed;
   top: 10px;
   right: 10px;
   z-index: 999;

+ 1 - 1
src/modules/editor/components/Viewport/Toolbar/AiText.tsx

@@ -148,7 +148,7 @@ export default defineComponent({
 const AIStyle = css`
   border-radius: 4px;
   box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
-  background-color: rgba(38, 38, 38, 0.8);
+  background-color: rgba(38, 38, 38, 0.95);
   color: #fff;
   .input_box,
   .result_text {

+ 0 - 1
src/modules/editor/controllers/SelectCtrl/assistRulerCtrl.ts

@@ -87,7 +87,6 @@ export class AssistRulerCtrl {
     const currDragItem = this._currDragItem;
     const verz = currDragItem.verz || 0;
     const horz = currDragItem.horz || 0;
-    console.log(pageBox);
     if (
       verz < 0 ||
       horz < 0 ||