Skip to content

Commit

Permalink
fix: 修复拼写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Grothendieck42 committed Sep 20, 2024
1 parent 0036264 commit 272bf8c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
30 changes: 25 additions & 5 deletions packages/editor/src/components/AIChatModal/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
color: #7d33ff;
padding: 10px;
border-bottom: 1px solid #e0e0e6;

.closeButton {
// position: absolute;
// top: 20px;
Expand All @@ -46,17 +47,20 @@
transform: rotate(90deg) scale(1.2);
}
}

.title {
display: flex;
justify-content: center;
align-items: center;
}

.marsailogo {
width: 35px;
height: 35px;
margin-top: 4px;
margin-right: 4px;
}

span {
font-size: 20px;
font-weight: bold;
Expand Down Expand Up @@ -92,28 +96,33 @@
flex-direction: column;
align-items: flex-end;
margin-bottom: 20px;

.chatInfo {
display: flex;
align-items: center;
margin-bottom: 5px;

.avatar {
width: 30px;
height: 30px;
border-radius: 50%;
margin-left: 10px;

img {
width: 100%;
height: 100%;
border-radius: 50%;
}
}

.chatName {
font-size: 14px;
font-weight: bold;
}
}

.chatText {
width: fix-content;
width: fit-content;
margin: 0 30px;
font-size: 14px;
padding: 10px;
Expand All @@ -129,29 +138,33 @@
flex-direction: column;
align-items: flex-start;
margin: 10px 0;

.chatInfo {
display: flex;
align-items: center;
margin-bottom: 5px;

.avatar {
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 10px;

img {
width: 100%;
height: 100%;
border-radius: 50%;
}
}

.chatName {
font-size: 14px;
font-weight: bold;
}
}

.chatText {
width: fix-content;
width: fit-content;
margin: 0 30px;
font-size: 14px;
padding: 10px;
Expand All @@ -170,24 +183,28 @@
.chatText {
font-size: 12px;
}

.load {
font-size: 12px;
margin-left: 10px;
}
}

.chatExamples {
display: flex;
margin-top: 10px;
gap: 10px;
width: 100%;
margin-left: 50px;
justify-content: flex-start;

.chatExampleItem {
border: 1px solid #e0e0e6;
padding: 5px 10px;
border-radius: 8px;
background-color: transparent;
cursor: pointer;

span {
font-size: 12px;
}
Expand All @@ -197,8 +214,8 @@
border: 1px solid #7d33ff;
transition: all 0.5s;
transform: scale(1.1);
span {
}

span {}
}
}
}
Expand All @@ -210,15 +227,18 @@
justify-content: space-between;
margin-top: 10px;
padding: 0;

.chatOtherInfo {
font-size: 20px;
color: #9b9a9a;
margin-right: 5px;
cursor: pointer;

&:hover {
color: #7d33ff;
}
}

input {
width: 330px;
height: 30px;
Expand All @@ -239,4 +259,4 @@
max-width: 200px;
text-align: justify;
word-break: break-all;
}
}
2 changes: 1 addition & 1 deletion packages/editor/src/packages/FormItems/RichText/Schema.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
},
{
type: 'Switch',
label: '只度',
label: '只读',
name: ['formWrap', 'readOnly'],
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/packages/Layout/Col/Schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default {
label: '右推格数',
name: 'push',
props: {
placeholder: '左侧偏移格数',
placeholder: '右侧偏移格数',
},
},
],
Expand Down

0 comments on commit 272bf8c

Please sign in to comment.