samchen2009 / ekanban

a kanban plugin for redmine
102 stars 42 forks source link

[PATCH] z-index for tip is wrong (ends up behind the text) #59

Closed mickem closed 10 years ago

mickem commented 10 years ago

Note sure 1 is the correct z-index but atleast it resolved my behind the text issue.

diff --git a/assets/stylesheets/kanban.css b/assets/stylesheets/kanban.css
index 5f8881d..f2a2d29 100644
--- a/assets/stylesheets/kanban.css
+++ b/assets/stylesheets/kanban.css
@@ -35,7 +35,7 @@ table.kanban td#backlog {}
 .kanban-card { margin: 2px;width:45%;max-width:80px;float:left;}
 .card-max-height {height:100px;}
 .card-min-height {height:auto;}
-.kanban-card span.tip {overflow:visible !important;}
+.kanban-card span.tip {overflow:visible !important; z-index: 1; }
 .card-header { text-align: left; overflow:visible; font-size: 11px }
 .card-header .ui-icon { float: right; }
 .card-content { margin:1px;padding: 1px; height:75%; overflow:hidden;text-align: left; color:#303030;}
oliver32767 commented 10 years ago

This patch did the trick. I'm running a bitnami instance and had to restart and run rake redmine:plugins:migrate RAILS_ENV=production before I saw the changes, but that might just have been me.

samchen2009 commented 10 years ago

You rock! Verified! could you submit a "pull request"?

samchen2009 commented 10 years ago

Done!