File tree 2 files changed +11
-2
lines changed 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3
3
<span class="text">{{.i18n.Tr "repo.diff.review"}}</span>
4
4
<i class="dropdown icon"></i>
5
5
</div>
6
- <div class="menu">
6
+ <div class="menu review-box ">
7
7
<div class="ui clearing segment">
8
8
<form class="ui form" action="{{.Link}}/reviews/submit" method="post">
9
9
{{.CsrfTokenHtml}}
Original file line number Diff line number Diff line change @@ -1231,12 +1231,21 @@ i.icon.centerlock {
1231
1231
1232
1232
/* limit width of all direct dropdown menu children */
1233
1233
/* https://github.com/go-gitea/gitea/pull/10835 */
1234
- .dropdown :not (.selection ) > .menu > * {
1234
+ .dropdown :not (.selection ) > .menu : not ( .review-box ) > * {
1235
1235
max-width : 300px ;
1236
1236
overflow-x : hidden ;
1237
1237
text-overflow : ellipsis ;
1238
1238
}
1239
1239
1240
+ .dropdown :not (.selection ) > .menu.review-box > * {
1241
+ @media only screen and (max-height : 700px ) {
1242
+ .CodeMirror ,
1243
+ .CodeMirror-scroll {
1244
+ min-height : 100px ;
1245
+ }
1246
+ }
1247
+ }
1248
+
1240
1249
.text-label {
1241
1250
display : inline-flex !important ;
1242
1251
align-items : center !important ;
You can’t perform that action at this time.
0 commit comments