Commit e86ca3dacdc8ad68252107c24d53a8a1e3216ad5

Authored by Karpikau Andrei
1 parent 62cb07fb

check remove tag

... ... @@ -47,10 +47,11 @@
47 47
48 48 }
49 49
50   -.filter .btn-group-toggle > .btn{margin-bottom:5px;position:relative;background-color: #999999;border-color: #999999;}
51   -.filter .btn-group-toggle > .btn a, .filter .btn-group-toggle > .btn a:hover{text-decoration:none;position:absolute;top:-16px;right:2px;font-size:14px;line-height:14px;}
52   -.filter .btn-group-toggle > .btn a{display:none;}
53   -.filter .btn-group-toggle > .btn:hover a{display:inline;}
  50 +.filter .btn-group-toggle > .btn{margin-bottom:30px;position:relative;background-color: #999999;border-color: #999999;}
  51 +.filter .btn-group-toggle > .btn .delete-tag-wrapper{position:absolute;top:-30px;left:0;width:100%;height:30px;}
  52 +.filter .btn-group-toggle > .btn a, .filter .btn-group-toggle > .btn a:hover{text-decoration:none;font-size:14px;line-height:14px;margin-top:10px;display:inline-block;}
  53 +.filter .btn-group-toggle > .btn .delete-tag-wrapper{display:none;}
  54 +.filter .btn-group-toggle > .btn:hover .delete-tag-wrapper{display:block;}
54 55 .filter .btn-group-toggle > .btn:hover{background-color: #5d9cec;border-color: #5d9cec;}
55 56 .checkbox-list{
56 57 input{margin-right:3px;}
... ...
... ... @@ -2,6 +2,8 @@
2 2 <% ActsAsTaggableOn::Tag.most_used.each do |tag| %>
3 3 <label data-value='<%= tag.name %>' class="btn btn-primary tag-item-<%= tag.id %>">
4 4 <%= tag.name %>
5   - <a class="delete-tag-from-list" href="<%= url_for(controller: 'tags', action: 'delete', id: tag.id) %>"><i class="fa fa-trash"></i></a>
  5 + <div class="delete-tag-wrapper text-right">
  6 + <a class="delete-tag-from-list" href="<%= url_for(controller: 'tags', action: 'delete', id: tag.id) %>"><i class="fa fa-trash"></i></a>
  7 + </div>
6 8 </label>
7 9 <% end %>
\ No newline at end of file
... ...
1 1 module Kanjai
2   - VERSION = "0.0.235"
  2 + VERSION = "0.0.236"
3 3 end
... ...