diff --git a/app/views/messages/_form.html.erb b/app/views/messages/_form.html.erb index 8ca518a72..2ed830ceb 100644 --- a/app/views/messages/_form.html.erb +++ b/app/views/messages/_form.html.erb @@ -4,11 +4,12 @@ <% replying ||= false %> -
+


-<%= f.text_field :subject,:size => 60, :style => "width:490px;", :id => "message_subject" %> - +<%= f.text_field :subject,:size => 60, :style => "width: 99%;", :id => "message_subject" %> +

+

<% unless replying %> <% if @message.safe_attribute? 'sticky' %> <%= f.check_box :sticky %> <%= label_tag 'message_sticky', l(:label_board_sticky) %> diff --git a/public/stylesheets/nyan.css b/public/stylesheets/nyan.css index fcc58bd3e..03e4d6775 100644 --- a/public/stylesheets/nyan.css +++ b/public/stylesheets/nyan.css @@ -3,6 +3,9 @@ .text_center{ text-align: center; } +.ph10_5{ /*padding horizontal 10% 5%*/ + padding: 0px 5% 0px 10%; +} * { font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", SimSun, "宋体", STXihei, "华文细黑", Heiti, "黑体", sans-serif; }