mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1697144 - Fix context line tab for non-proton, and push the line 1px up in proton. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107690
This commit is contained in:
parent
e2657b40e2
commit
ca10096bc9
@ -9,13 +9,24 @@
|
||||
{
|
||||
class MozTabbrowserTab extends MozElements.MozTab {
|
||||
static get markup() {
|
||||
return `
|
||||
<stack class="tab-stack" flex="1">
|
||||
let background = gProtonTabs
|
||||
? `
|
||||
<vbox class="tab-background">
|
||||
<hbox class="tab-context-line"/>
|
||||
<hbox class="tab-line"/>
|
||||
<spacer flex="1" class="tab-background-inner"/>
|
||||
</vbox>
|
||||
`
|
||||
: `
|
||||
<vbox class="tab-background">
|
||||
<hbox class="tab-line"/>
|
||||
<spacer flex="1" class="tab-background-inner"/>
|
||||
<hbox class="tab-context-line"/>
|
||||
</vbox>
|
||||
`;
|
||||
return `
|
||||
<stack class="tab-stack" flex="1">
|
||||
${background}
|
||||
<hbox class="tab-loading-burst"/>
|
||||
<hbox class="tab-content" align="center">
|
||||
<hbox class="tab-throbber" layer="true"/>
|
||||
|
@ -119,8 +119,7 @@
|
||||
background-color: var(--identity-icon-color);
|
||||
height: 2px;
|
||||
border-radius: 2px;
|
||||
margin-top: -2px;
|
||||
margin: -2px 2px 0;
|
||||
margin: -3px 2px 0;
|
||||
}
|
||||
} /*** END proton ***/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user