ソースを参照

Fix input size for dependency select (#6913)

tags/v1.9.0-rc1
Xaver Maierhofer 5年前
コミット
a92ab34493
3個のファイルの変更13行の追加4行の削除
  1. 1
    1
      public/css/index.css
  2. 11
    2
      public/less/_repository.less
  3. 1
    1
      templates/repo/issue/view_content/sidebar.tmpl

+ 1
- 1
public/css/index.css
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 11
- 2
public/less/_repository.less ファイルの表示

@@ -2244,9 +2244,18 @@ tbody.commit-list {
cursor: pointer;
}

@media only screen and (max-width: 768px) {
.new-dependency-drop-list {
#new-dependency-drop-list {
&.ui.selection.dropdown {
min-width: 0;
width: 100%;
border-radius: 4px 0 0 4px;
border-right: 0;
white-space: nowrap;
}

.text {
width: 100%;
overflow: hidden;
}
}


+ 1
- 1
templates/repo/issue/view_content/sidebar.tmpl ファイルの表示

@@ -321,7 +321,7 @@
<form method="POST" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/dependency/add" id="addDependencyForm">
{{$.CsrfTokenHtml}}
<div class="ui fluid action input">
<div class="ui search selection dropdown" id="new-dependency-drop-list" data-issue-id="{{.Issue.ID}}" style="min-width: 13.9rem;border-radius: 4px 0 0 4px;border-right: 0;white-space: nowrap;">
<div class="ui search selection dropdown" id="new-dependency-drop-list" data-issue-id="{{.Issue.ID}}">
<input name="newDependency" type="hidden">
<i class="dropdown icon"></i>
<input type="text" class="search">

読み込み中…
キャンセル
保存