Merge pull request #94 from piglop/fixed_indentation_in_menu

Fixed indentation in menu
This commit is contained in:
Reinier Balt 2012-07-22 05:49:48 -07:00
commit 08ee58c303
2 changed files with 12 additions and 1 deletions

View file

@ -1430,3 +1430,14 @@ div.auto_complete ul strong.highlight {
.ui-autocomplete-loading {
background: white url('/assets/ui-anim_basic_16x16.gif') right center no-repeat;
}
ul.todo-submenu > li > a {
position: relative;
padding-left: 24px;
}
ul.todo-submenu > li > a > img {
position: absolute;
left: 0px;
top: 0px;
}

View file

@ -14,7 +14,7 @@ parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag'
<%= remote_edit_button(todo) unless suppress_edit_button %>
<ul class="sf-menu sf-item-menu">
<li style="z-index:<%=@z_index_counter%>"><%= image_tag "downarrow.png", :class => "todo-submenu", :alt=> "" %>
<ul id="ul<%= dom_id(todo) %>">
<ul id="ul<%= dom_id(todo) %>" class="todo-submenu">
<li><%= remote_delete_menu_item(todo) %></li>
<% unless todo.completed? || todo.deferred? -%>
<li><%= remote_defer_menu_item(1, todo) %></li>