Commit 29fc82e2 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Adjust icon positions in class toolbar.

Without this 1px shift some of the icons will be missing pixels from the
bottom.
parent 0189db6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ module JsDuck
        css = []
        members_with_icons.each do |m|
          name = m[:name]
          rule = ".icon-#{name} { background: url(member-icons/#{name}.png) no-repeat; }"
          rule = ".icon-#{name} { background-image: url(member-icons/#{name}.png); background-repeat: no-repeat; }"
          css << "#search-dropdown #{rule}"
          css << ".members .members-section #{rule}"
          css << ".members .comments-section #{rule}"
+6 −1
Original line number Diff line number Diff line
@@ -5,9 +5,14 @@
  border-radius: 2px;
  border-color: #e4e4e4;
  padding: 5px;

  // ExtJS styles hide the border using !important.
  // So to override it we need to use !important too.
  border-width: 1px !important; }
  border-width: 1px !important;

  // move the icons up a bit
  .hover-menu-button {
    background-position: 0 -1px; } }


// The reset (X) button in filter-class-members text box