diff --git a/app/views/tags/_tag.html.erb b/app/views/tags/_tag.html.erb index c0217c925..c0ecf5c84 100644 --- a/app/views/tags/_tag.html.erb +++ b/app/views/tags/_tag.html.erb @@ -1,4 +1,9 @@ - +
<%#begin 1 代表是user类型 @@ -77,9 +82,9 @@ <%= f.text_field :name ,:id => "tags_name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %> <%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%> <%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%> - <%= f.submit l(:button_project_tags_add),:class => "ButtonAddTags" %> - - <%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor'%> + + <%= l(:button_project_tags_add)%> + <%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor m3p10'%> <% end %>
<% end %> diff --git a/public/stylesheets/nyan.css b/public/stylesheets/nyan.css index 1ef7c8dd7..bdec84b4c 100644 --- a/public/stylesheets/nyan.css +++ b/public/stylesheets/nyan.css @@ -483,7 +483,6 @@ input[class~='ButtonClolr'],.ButtonColor{ font-family: '微软雅黑',Arial,Helvetica,sans-serif; font-size: 15px; text-align: center; - padding: 0px; background: #15bccf !important; border: 0px solid #15bccf ; display:inline-block @@ -540,7 +539,7 @@ input[class~='whiteButton']:active, .whiteButton:active { input[class~='m3p10'], .m3p10 { margin: 0; - padding: 3px 10px; + padding: 3px 10px !important; height: 20px; display: inline-block; color: #ffffff;