Skip to content

Commit 50d2cc3

Browse files
Copilotalexr00
andauthored
Fix upload button rendering on top of text in comment input (#8793)
* Initial plan * Fix upload button overlapping textarea content Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 18ea807 commit 50d2cc3

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

webviews/activityBarView/index.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,11 @@ textarea {
7070
outline: none;
7171
margin: 0;
7272
resize: none;
73-
padding-bottom: 28px;
7473
}
7574

7675
.textarea-wrapper .comment-upload-button {
77-
position: absolute;
78-
left: 6px;
79-
bottom: 4px;
76+
align-self: flex-start;
77+
margin: 2px 0 4px 4px;
8078
border: none;
8179
background: none;
8280
padding: 4px;

webviews/editorWebview/index.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ textarea {
10371037
margin: 0;
10381038
resize: none;
10391039
padding-right: 40px;
1040-
padding-bottom: 28px;
10411040
}
10421041

10431042
.textarea-wrapper .title-action {
@@ -1076,9 +1075,8 @@ textarea {
10761075
}
10771076

10781077
.textarea-wrapper .comment-upload-button {
1079-
position: absolute;
1080-
left: 6px;
1081-
bottom: 4px;
1078+
align-self: flex-start;
1079+
margin: 2px 0 4px 4px;
10821080
border: none;
10831081
background: none;
10841082
padding: 4px;

0 commit comments

Comments
 (0)