Skip to content

Commit fbb1fd2

Browse files
committed
feat: 更新编辑框样式
1 parent 4ae281f commit fbb1fd2

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/pages/PromptTemplate.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@
3434
}
3535
}
3636

37-
.role-input-section, .rule-input-section {
37+
.role-input-section, .rule-input-section, .output-input-section {
3838
background: #fff;
3939
border-radius: 8px;
40-
padding: 20px;
41-
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
40+
/*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
41+
margin-bottom: 1rem;
42+
margin-top: 2rem;
4243
}
4344

4445
.template-footer {
@@ -88,7 +89,7 @@
8889
}
8990

9091
.rule-input-section {
91-
margin-bottom: 1.5rem;
92+
/*margin-bottom: 1.5rem;*/
9293
}
9394

9495
.home-footer {

src/pages/styles.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@
5252
}
5353

5454
.editor-area {
55-
margin-top: 1rem;
55+
margin-top: 2rem;
56+
margin-bottom: 2rem;
5657
width: 100%;
57-
min-height: 300px;
58-
padding: 1rem;
58+
/*min-height: 500px;*/
59+
/*padding: 1rem;*/
5960
border: 1px solid #ddd;
6061
border-radius: 6px;
6162
font-family: 'Courier New', monospace;

0 commit comments

Comments
 (0)