Fix buttons in the richtext help panel
This commit is contained in:
parent
525c2234b6
commit
597fb5d27f
2 changed files with 18 additions and 2 deletions
|
@ -1732,6 +1732,20 @@ a.button.submit {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.buttons input[type="submit"] {
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom:0;
|
||||||
|
width:99px;
|
||||||
|
min-width:99px;
|
||||||
|
}
|
||||||
|
.buttons input:first-child {
|
||||||
|
border-radius:2px 0 0 2px;
|
||||||
|
margin-right:1px;
|
||||||
|
}
|
||||||
|
.buttons input:last-child {
|
||||||
|
border-radius:0 2px 2px 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for the user notes list */
|
/* Rules for the user notes list */
|
||||||
|
|
|
@ -83,8 +83,10 @@ module ApplicationHelper
|
||||||
|
|
||||||
output_buffer << content_tag(:div, :id => "#{id}_help", :class => "richtext_help") do
|
output_buffer << content_tag(:div, :id => "#{id}_help", :class => "richtext_help") do
|
||||||
output_buffer << render("site/#{format}_help")
|
output_buffer << render("site/#{format}_help")
|
||||||
output_buffer << submit_tag(I18n.t("site.richtext_area.edit"), :id => "#{id}_doedit", :class => "richtext_doedit", :disabled => true)
|
output_buffer << content_tag(:div, :class => "buttons") do
|
||||||
output_buffer << submit_tag(I18n.t("site.richtext_area.preview"), :id => "#{id}_dopreview", :class => "richtext_dopreview")
|
output_buffer << submit_tag(I18n.t("site.richtext_area.edit"), :id => "#{id}_doedit", :class => "richtext_doedit", :disabled => true)
|
||||||
|
output_buffer << submit_tag(I18n.t("site.richtext_area.preview"), :id => "#{id}_dopreview", :class => "richtext_dopreview")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue