fix: submit editor filename width
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-05 21:03:23 +08:00
parent 1daf709df8
commit 236ca9654d
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -804,12 +804,12 @@ $.fn.source_code_form_group = function(name, text, langs_options_html) {
$(this)
.append($('<div class="row col-sm-12"/>')
.append($('<label class="col-sm-2 control-label"><div class="'+(isBootstrap5Page ? ' text-start ' : ' text-left ')+'">' + text + '</div></label>'))
.append($('<label class="col-sm-4 control-label"><div class="'+(isBootstrap5Page ? ' text-start ' : ' text-left ')+'">' + text + '</div></label>'))
.append($('<label class="col-sm-1 control-label '+ (isBootstrap5Page ? ' px-1 ' : '') +' " for="' + input_language_name + '">'+uojLocale('editor::language')+'</label>'))
.append($('<div class="col-sm-2"/>')
.append(input_language)
)
.append($('<div class="col-sm-2 offset-sm-3 radio"/>')
.append($('<div class="col-sm-2 offset-sm-1 radio"/>')
.append($('<label/>')
.append(input_upload_type_editor)
.append(' '+uojLocale('editor::upload by editor'))
@ -962,9 +962,8 @@ $.fn.text_file_form_group = function(name, text) {
$(this)
.append($('<div class="row"/>')
.append($('<label class="col-sm-2 control-label"><div class="text-left">' + text + '</div></label>'))
.append($('<div class="top-buffer-sm" />'))
.append($('<div class="col-sm-2 offset-sm-6 radio"/>')
.append($('<label class="col-sm-4 control-label"><div class="'+(isBootstrap5Page ? ' text-start ' : ' text-left ')+'">' + text + '</div></label>'))
.append($('<div class="col-sm-2 offset-sm-4 radio"/>')
.append($('<label/>')
.append(input_upload_type_editor)
.append(' '+uojLocale('editor::upload by editor'))