Skip to content

Commit 504eb1f

Browse files
authored
fix(client): fix appearances of buttons in multiple choice & essay forms (#604)
1 parent 2bbbec5 commit 504eb1f

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

judgels-client/src/components/ProblemWorksheetCard/Bundle/ProblemStatementCard/ItemEssayCard/ItemEssayForm/ItemEssayForm.scss

+6-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@
2222
}
2323

2424
.essay-callout {
25-
width: 85%;
2625
height: 35px;
27-
line-height: 18px;
26+
line-height: 14px;
27+
28+
.bp5-icon {
29+
top: 10px !important;
30+
}
2831
}
2932

3033
.essay-callout-edit {
31-
width: 70%;
34+
height: 35px;
3235
background-color: white;
3336
color: white;
3437
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.item-short-answer-form {
2-
.answer-form {
3-
float: left;
4-
width: 70%;
5-
}
2+
display: flex;
3+
gap: 1px;
64

75
.text-input {
86
margin-left: 25px;
@@ -17,9 +15,12 @@
1715
}
1816

1917
.callout {
20-
float: right;
21-
width: 30%;
18+
width: 150px;
2219
height: 35px;
23-
line-height: 18px;
20+
line-height: 14px;
21+
22+
.bp5-icon {
23+
top: 10px !important;
24+
}
2425
}
2526
}

0 commit comments

Comments
 (0)