1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-25 07:37:08 +09:00

Add a classname to the loading bar (#1826)

This commit is contained in:
Alda Marteau-Hardi 2017-04-15 13:17:54 +02:00 committed by Eugen
parent b857551617
commit bddd36f260
2 changed files with 9 additions and 1 deletions

View File

@ -141,7 +141,7 @@ const UI = React.createClass({
{mountedColumns} {mountedColumns}
<NotificationsContainer /> <NotificationsContainer />
<LoadingBarContainer style={{ backgroundColor: '#2b90d9', left: '0', top: '0' }} /> <LoadingBarContainer className="loading-bar" />
<ModalContainer /> <ModalContainer />
<UploadArea active={draggingOver} /> <UploadArea active={draggingOver} />
</div> </div>

View File

@ -2056,3 +2056,11 @@ button.icon-button.active i.fa-retweet {
flex: 0 0 auto; flex: 0 0 auto;
} }
} }
.loading-bar {
background-color: $color4;
height: 3px;
position: absolute;
top: 0;
left: 0;
}