Commit 445e5140c2b62cab2e66cbb8442b5c9146f4f580
Committed by
Daniela Feitosa
1 parent
49e8f6bf
Exists in
master
and in
28 other branches
ActionItem1075: the MSIE was hidding links with hidden content, so, i add a &nbs…
…p; before the button span
Showing
3 changed files
with
5 additions
and
14 deletions
Show diff stats
app/helpers/application_helper.rb
| ... | ... | @@ -202,7 +202,7 @@ module ApplicationHelper |
| 202 | 202 | if html_options.has_key?(:class) |
| 203 | 203 | the_class << ' ' << html_options[:class] |
| 204 | 204 | end |
| 205 | - link_to(content_tag('span', label), url, html_options.merge(:class => the_class, :title => label)) | |
| 205 | + link_to(' '+content_tag('span', label), url, html_options.merge(:class => the_class, :title => label)) | |
| 206 | 206 | end |
| 207 | 207 | |
| 208 | 208 | def button_to_function(type, label, js_code, html_options = {}, &block) | ... | ... |
app/views/cms/view.rhtml
| ... | ... | @@ -55,7 +55,7 @@ |
| 55 | 55 | <td> |
| 56 | 56 | <%= folder.class.short_description %> |
| 57 | 57 | </td> |
| 58 | - <td> | |
| 58 | + <td class="article-controls"> | |
| 59 | 59 | <%= button_without_text :edit, _('Properties'), :action => 'edit', :id => folder.id %> |
| 60 | 60 | <%= button_without_text :eyes, _('Public view'), folder.url %> |
| 61 | 61 | <%= button_without_text :home, _('Use as homepage'), { :action => 'set_home_page', :id => folder.id }, :method => :post %> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | <td> |
| 75 | 75 | <%= item.class.short_description %> |
| 76 | 76 | </td> |
| 77 | - <td> | |
| 77 | + <td class="article-controls"> | |
| 78 | 78 | <%= button_without_text :edit, _('Edit'), :action => 'edit', :id => item.id %> |
| 79 | 79 | <%= button_without_text :eyes, _('Public view'), item.url %> |
| 80 | 80 | <% if profile.person? %> | ... | ... |
public/stylesheets/controller_cms.css
| ... | ... | @@ -28,17 +28,8 @@ |
| 28 | 28 | border: 1px solid #d3d7cf; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | -#article-controls { | |
| 32 | - background: white; | |
| 33 | - border: 1px solid gray; | |
| 34 | - padding-top: 0px; | |
| 35 | - padding-bottom: 4px; | |
| 36 | - margin-bottom: 1em; | |
| 37 | -} | |
| 38 | - | |
| 39 | -#article-controls .button { | |
| 40 | - position: relative; | |
| 41 | - top: -5px; | |
| 31 | +.article-controls { | |
| 32 | + white-space: nowrap; | |
| 42 | 33 | } |
| 43 | 34 | |
| 44 | 35 | .categorie_box .button { | ... | ... |