1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 02:10:24 +00:00

[pdf viewer] improved loading

- display a loading icon instead of a blue progress bar in the `#loadingBar`
- added loading icons for pdf pages
This commit is contained in:
llj
2022-03-03 14:43:48 +08:00
parent 2b3e71d4d5
commit 33ff193d8d
3 changed files with 22 additions and 8 deletions

View File

@@ -238,7 +238,8 @@ class PDFViewer extends React.Component {
</div>
</div>
<div id="loadingBar">
<div className="progress">
<span className="loading-icon loading-tip"></span>
<div className="progress hidden">
<div className="glimmer">
</div>
</div>