Kaynağa Gözat

Updates loading spinner in graph status bar

main
Keith Daulton 2 yıl önce
ebeveyn
işleme
c6b30e571d
2 değiştirilmiş dosya ile 11 ekleme ve 6 silme
  1. +5
    -1
      src/webviews/apps/plus/graph/GraphWrapper.tsx
  2. +6
    -5
      src/webviews/apps/plus/graph/graph.scss

+ 5
- 1
src/webviews/apps/plus/graph/GraphWrapper.tsx Dosyayı Görüntüle

@ -481,7 +481,11 @@ export function GraphWrapper({
showing {graphList.length} item{graphList.length ? 's' : ''}
</span>
)}
{isLoading && <span className="actionbar__loading icon--loading icon-modifier--spin" />}
{isLoading && (
<span className="actionbar__loading">
<span className="icon--loading icon-modifier--spin" />
</span>
)}
</div>
<div className="actionbar__group">
<span className="badge">Preview</span>

+ 6
- 5
src/webviews/apps/plus/graph/graph.scss Dosyayı Görüntüle

@ -52,11 +52,11 @@ a {
&__details {}
&__loading {
position: relative;
top: 1px;
left: 0.5rem;
font-size: 1.2rem;
margin-right: 1rem; // adds "padding" to stop the overflow from clipping the spin
> * {
display: inline-block;
}
}
a {
@ -376,7 +376,8 @@ a {
&__container {
display: flex;
flex-direction: column;
height: calc(100vh - 2px); // shoot me -- the 2px is to stop the vertical scrollbar from showing up
// height: calc(100vh - 2px); // shoot me -- the 2px is to stop the vertical scrollbar from showing up
height: 100vh; // shoot me -- the 2px is to stop the vertical scrollbar from showing up
gap: 0;
padding: 0 2px;
}

Yükleniyor…
İptal
Kaydet