Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Based on the feedback by @bsclifton
Browse files Browse the repository at this point in the history
See: #7740 (review)

Auditors: @bsclifton

Test Plan: See the 1st post of the PR (updated)
  • Loading branch information
Suguru Hirahara committed Mar 17, 2017
1 parent 164a766 commit dba616f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
15 changes: 13 additions & 2 deletions less/bookmarksToolbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
box-sizing: border-box;
display: flex;
flex: 1;
padding: 0 var(--bookmarks-toolbar-padding) 8px;
padding: 7px var(--bookmarks-toolbar-padding) 8px;

&.allowDragging {
-webkit-app-region: drag;
Expand All @@ -27,7 +27,18 @@
}

&.showOnlyFavicon {
padding: 0 0 7px 10px;
padding: 7px 0 7px 10px;
}

// PR #7740
+ .tabPages {
&.singlePage {
height: 0;
}

&:not(.singlePage) {
padding-top: 0;
}
}

.bookmarkToolbarButton {
Expand Down
2 changes: 1 addition & 1 deletion less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
.navigatorWrapper {
justify-content: space-between;
align-items: center;
margin: 7px 0;
margin-top: 7px;
box-sizing: border-box;

/**
Expand Down
3 changes: 1 addition & 2 deletions less/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
background: none;
display: flex;
height: @tabPagesHeight;
padding: 0 0 7px;
padding: 7px 0;
justify-content: center;
position: relative;
text-align: center;
Expand All @@ -153,7 +153,6 @@
&.singlePage {
margin: 0;
padding: 0;
height: 0;
}

>div {
Expand Down

0 comments on commit dba616f

Please sign in to comment.