From 424028f09e1cfdfb0f586335851b049893e52312 Mon Sep 17 00:00:00 2001 From: Michael Witrant Date: Sat, 7 Jul 2012 12:21:10 +0200 Subject: [PATCH] fixed indentation when todo sub menu text is too long --- app/assets/stylesheets/tracks.css | 11 +++++++++++ app/views/todos/_todo.html.erb | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/tracks.css b/app/assets/stylesheets/tracks.css index e2c4a38b..e2eda344 100644 --- a/app/assets/stylesheets/tracks.css +++ b/app/assets/stylesheets/tracks.css @@ -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; +} diff --git a/app/views/todos/_todo.html.erb b/app/views/todos/_todo.html.erb index a6167584..ee744c38 100644 --- a/app/views/todos/_todo.html.erb +++ b/app/views/todos/_todo.html.erb @@ -14,7 +14,7 @@ parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag' <%= remote_edit_button(todo) unless suppress_edit_button %>