Bug 1417248 - Make pinned tabs smaller in compact mode. r?johannh draft
authorDão Gottwald <dao@mozilla.com>
Wed, 15 Nov 2017 13:06:46 +0100
changeset 698274 0bc6a226528a8deffb45cc646762fad5bd6f6688
parent 698273 c5dbe8d573a4b901fcd2ca40ce9658c440673dbd
child 740325 6fe8da723e4702a6c1891d51faf38a7c358fbd9d
push id89233
push userdgottwald@mozilla.com
push dateWed, 15 Nov 2017 12:07:16 +0000
reviewersjohannh
bugs1417248
milestone59.0a1
Bug 1417248 - Make pinned tabs smaller in compact mode. r?johannh MozReview-Commit-ID: KTvzn6lEPh6
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -61,17 +61,17 @@ tabbrowser {
   position: relative;
   z-index: 2;
 }
 
 .tab-content {
   padding: 0 @horizontalTabPadding@;
 }
 
-.tab-content[pinned] {
+:root:not([uidensity=compact]) .tab-content[pinned] {
   padding: 0 12px;
 }
 
 :root[sessionrestored] .tab-loading-burst {
   position: relative;
   overflow: hidden;
 }