Sfoglia il codice sorgente

Add loading spinner to graph status bar

main
Miggy Eusebio 2 anni fa
parent
commit
deba6e6255
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 7C2C0144063354A2
2 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. +3
    -0
      src/webviews/apps/plus/graph/GraphWrapper.tsx
  2. +2
    -5
      src/webviews/apps/plus/graph/graph.scss

+ 3
- 0
src/webviews/apps/plus/graph/GraphWrapper.tsx Vedi File

@ -320,6 +320,9 @@ export function GraphWrapper({
{graphList.length} commit{graphList.length ? 's' : ''}
</span>
)}
{isLoading && (
<span className={'icon--loading'}/>
)}
</div>
<div className="actionbar__group">
<span className="badge">Preview</span>

+ 2
- 5
src/webviews/apps/plus/graph/graph.scss Vedi File

@ -228,13 +228,10 @@ a {
font-family: codicon;
content: '\eb19';
}
animation: spin 1s infinite linear;
animation-delay: 0.2s;
transform-origin: 50% 42%;
animation: spin .7s steps(30) infinite;
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}

Caricamento…
Annulla
Salva