Skip to content

Commit

Permalink
Update loading bar height and color #918 (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
hocinehacherouf authored Jul 14, 2022
1 parent 5e6b131 commit bae9886
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AzureIoTHub.Portal/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ public static async Task Main(string[] args)
await ConfigurePortalSettings(builder);

// Enable loading bar
builder.Services.AddLoadingBar();
builder.Services.AddLoadingBar(options =>
{
options.LoadingBarColor = "#D3E24A";
});
_ = builder.UseLoadingBar();

await builder.Build().RunAsync();
Expand Down
8 changes: 8 additions & 0 deletions src/AzureIoTHub.Portal/Client/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@
overflow-x: hidden;
height: calc(100vh - 270px);
}

#loading-bar .bar {
height: 4px !important;
}

#loading-bar .peg {
height: 4px !important;
}

0 comments on commit bae9886

Please sign in to comment.