Pārlūkot izejas kodu

Add loading spinner to graph status bar

main
Miggy Eusebio pirms 2 gadiem
vecāks
revīzija
deba6e6255
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 7C2C0144063354A2
2 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  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 Parādīt failu

@ -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 Parādīt failu

@ -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);
}

Notiek ielāde…
Atcelt
Saglabāt