Browse Source

Add a classname to the loading bar (#1826)

closed-social-v3
Alda Marteau-Hardi 7 years ago
committed by Eugen
parent
commit
bddd36f260
2 changed files with 9 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/features/ui/index.jsx
  2. +8
    -0
      app/assets/stylesheets/components.scss

+ 1
- 1
app/assets/javascripts/components/features/ui/index.jsx View File

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

+ 8
- 0
app/assets/stylesheets/components.scss View File

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

Loading…
Cancel
Save