shaifali

horizon-fix

Oct 29th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. In grid.html
  2.  
  3. {% if dest.cidr == row.source.cidr %}
  4. <span show-submit="false">
  5. <i class="icon-ok"></i>
  6. {% else %}
  7. <span show-submit="true">
  8. <i class="icon-ok"></i>
  9. <button type="submit" class="btn btn-default btn-xs" href="#"><i class="icon-rand
  10. om"></i></button>
  11. {% endif %}
  12. </span>
  13.  
  14.  
  15. In hroizon.scss:
  16.  
  17. /**** To remove &nsbp; instead using CSS style padding to adjust left margin****/
  18. #routerrules_clickgrid span[show-submit='false']{
  19. margin-left: 40px;
  20. }
  21.  
  22.  
  23. Also we can use ` margin-left: auto; margin-right: auto;` if needed.
Advertisement
Add Comment
Please, Sign In to add comment