Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix styling of folder loading
Alexis Sellier committed 4 years ago
commit 73107e3ddeae3751b22773a3d66258e235fcae07
parent efa1600b7b57643ebbb41d781a98b46bc966005a
1 file changed +6 -1
modified src/base/projects/Tree/Folder.svelte
@@ -53,6 +53,11 @@
    padding-left: 0.5rem;
    margin: 0;
  }
+

+
  .loading {
+
    display: inline-block;
+
    padding: 0.5rem 0;
+
  }
</style>

<div class="folder" on:click={onClick}>
@@ -62,7 +67,7 @@
<div class="container">
  {#if expanded}
    {#await tree}
-
      <Loading small center />
+
      <span class="loading"><Loading small margins /></span>
    {:then tree}
      {#if tree}
        {#each tree.entries as entry (entry.path)}