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

Fix alignment of home button between tab with content and about:newtab #4870

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/components/navigationBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class NavigationBar extends ImmutableComponent {
<div className='startButtons'>
{
isSourceAboutUrl(this.props.location) || this.titleMode
? <span className='browserButton' />
? <span className='browserButton hidden-button fa fa-repeat' />
: this.loading
? <Button iconClass='fa-times'
l10nId='stopButton'
Expand Down
4 changes: 4 additions & 0 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,10 @@

&:not(.titleMode) {
.urlbarForm, .browserButton {
&.hidden-button {
animation: none;
animation-fill-mode: none;
}
animation: fadeIn .6s;
opacity: 0;
animation-fill-mode: forwards;
Expand Down