Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web/satellite/v2: fixed style-src CSP error
Made inline styles to be loaded from file to resolve CSP error Issue: #6701 Change-Id: I0d15475d61bf4d0a499ca884b5a4b77decb6de56
- Loading branch information
1 parent
0741205
commit 577546a
Showing
3 changed files
with
31 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (C) 2024 Storj Labs, Inc. | ||
// See LICENSE for copying information. | ||
|
||
#pre-app-loader { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 100vh; | ||
} | ||
|
||
#pre-app-loader div { | ||
border: 4px solid rgb(1,73,255); | ||
border-top: 4px solid transparent; | ||
border-radius: 50%; | ||
width: 90px; | ||
height: 90px; | ||
animation: spin .7s linear infinite; | ||
} | ||
|
||
#pre-app-loader img { | ||
position: absolute; | ||
inset: 0; | ||
margin: auto; | ||
} | ||
|
||
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(360deg); } | ||
} |