Skip to content

Commit

Permalink
update generateDesc width (#2739)
Browse files Browse the repository at this point in the history
* update generateDesc width

* use textarea to replace input
  • Loading branch information
QSummerY authored Jul 23, 2024
1 parent e43ebc0 commit fab5ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/templates/sqlquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h4 class="modal-title text-danger">收藏语句</h4>
<option value={{ sql.id }}>{{ sql.alias }}</option>
{% endfor %}
</select>
<input id="generateDesc" class="form-control" style="display: none" placeholder="AI 查询描述" />
<textarea id="generateDesc" class="form-control" style="display: none;width: 70%;" placeholder="AI 查询描述" rows=1></textarea>
<input id="btn-generatesql" type="button" class="btn btn-info" style="display: none" value="生成SQL"/>
<button id="btn-openaiTooltip" type="button" class="btn" style="display: none" data-toggle="tooltip" title="仅此操作会与 AI 交互, 收集数据库类型、表结构以及输入框信息, 交给 AI 生成 SQL 并置于下面的语句框中" >
<span class="fa fa-question-circle" />
Expand Down

0 comments on commit fab5ba9

Please sign in to comment.