Skip to content

Commit

Permalink
Improve toolbar appearance (remove top border).
Browse files Browse the repository at this point in the history
Tweak the CSS to remove the top border of the toolbar div and add some
side padding to the XUL toolbar CSS. The toolbar previously rendered
poorly in Firefox 24, looking as though it had a weird floating line
above it.
  • Loading branch information
benbasson committed Sep 29, 2013
1 parent 957931f commit b1c0c84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/chrome/imagetoolbar/skin/classic/imagetoolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ toolbar[mode="icons"] .toolbarbutton-text
display: none;
}

toolbar {
padding: 0 2px !important;
}

.toolbarbutton-icon
{
-moz-padding-start: 1px;
Expand Down
1 change: 0 additions & 1 deletion src/chrome/imagetoolbar/skin/classic/toolbardiv.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#mozilla-image-toolbar-div
{
border-top: 1px solid #FFFFFF !important;
border-left: 1px solid #FFFFFF !important;
border-right: 1px solid #808080 !important;
border-bottom: 1px solid #808080 !important;
Expand Down

0 comments on commit b1c0c84

Please sign in to comment.