[前端] 修复翻译按钮错位:去掉硬编码margin-left;修复对话框硬编码宽度

This commit is contained in:
2026-04-02 13:06:08 +08:00
parent 1e47bcab37
commit 200ccac9b9
2 changed files with 4 additions and 4 deletions

View File

@@ -444,7 +444,7 @@ const handleStop = async () => {
} }
.background-color { .background-color {
width: 490px; width: 100%;
height: 30px; height: 30px;
margin-left: 20px; margin-left: 20px;
background: linear-gradient(360deg, #C0D4FD 0%, rgba(199, 219, 255, 0) 100%); background: linear-gradient(360deg, #C0D4FD 0%, rgba(199, 219, 255, 0) 100%);
@@ -456,7 +456,7 @@ const handleStop = async () => {
.tool-bar { .tool-bar {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
width: 505px; width: calc(100% - 15px);
padding-top: 30px; padding-top: 30px;
height: 65px; height: 65px;
position:absolute; position:absolute;
@@ -509,7 +509,7 @@ const handleStop = async () => {
} }
.text-box { .text-box {
//width: 490px; //width: 100%;
height: 190px; height: 190px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 8px; border-radius: 8px;

View File

@@ -179,7 +179,7 @@ onMounted(async () => {
margin-top: 12px; margin-top: 12px;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
margin-left:271px; justify-content: flex-end;
color: #858a94; color: #858a94;
.operateItem { .operateItem {
cursor: pointer; cursor: pointer;