Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Remove unused button
Rūdolfs Ošiņš committed 1 year ago
commit 26e77b52cf3d33a6fe669319872cb156e7a1b6b9
parent 6aef21825482ae689a2bce011b00c5dfaedabc47
1 file changed +5 -4
modified src/components/Header.svelte
@@ -6,7 +6,6 @@

  import Icon from "./Icon.svelte";
  import NakedButton from "./NakedButton.svelte";
-
  import OutlineButton from "./OutlineButton.svelte";
  import Avatar from "./Avatar.svelte";

  interface Props {
@@ -81,8 +80,9 @@
      {@render center?.()}

      <div class="global-flex">
-
        {@render settingsButton?.()}
-
        <OutlineButton variant="ghost">
+
        <div
+
          class="global-flex txt-semibold txt-small"
+
          style:margin-right="0.25rem">
          {#if $nodeRunning}
            <Icon name="online" />
            Online
@@ -90,7 +90,8 @@
            <Icon name="offline" />
            Offline
          {/if}
-
        </OutlineButton>
+
        </div>
+
        {@render settingsButton?.()}
      </div>
    </div>
  </div>