#948 admin配置管理--用户列表--项目列表:如图下拉框显示超出边框且项目问题,解决,说小选项长度,添加title属性,鼠标悬停时显示选项的完整信息
This commit is contained in:
parent
49beaa4f42
commit
30e355fa35
|
@ -460,6 +460,7 @@ module ApplicationHelper
|
|||
project_tree(projects) do |project, level|
|
||||
name_prefix = (level > 0 ? ' ' * 2 * level + '» ' : '').html_safe
|
||||
tag_options = {:value => project.id}
|
||||
tag_options[:title] = project.name
|
||||
if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project))
|
||||
tag_options[:selected] = 'selected'
|
||||
else
|
||||
|
|
|
@ -2834,4 +2834,8 @@ div.repos_explain{
|
|||
.list .tableth{background-color:#EEEEEE; padding: 4px; white-space:pre;}
|
||||
|
||||
.projects-index{min-height: 350px}
|
||||
.school-index{min-height: 400px}
|
||||
.school-index{min-height: 400px}
|
||||
#membership_project_id option
|
||||
{
|
||||
width: 190px;
|
||||
}
|
Loading…
Reference in New Issue