Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Tweak paddings and remove button
Open rudolfs opened 1 year ago
2 files changed +9 -8 6aef2182 35201e66
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>
modified src/views/repo/CreateIssue.svelte
@@ -69,8 +69,8 @@
  .content {
    display: flex;
    flex-direction: column;
-
    height: 100%;
-
    padding: 0 1rem 1rem 1rem;
+
    min-height: 100%;
+
    padding: 1rem 1rem 1rem 0;
  }
  .metadata-divider {
    width: 2px;
@@ -104,12 +104,12 @@
        <InlineTitle content={title} fontSize="medium" />
      </div>
    {:else}
-
      <div style:margin-bottom="0.35rem">
+
      <div style:margin-bottom="1rem">
        <TextInput placeholder="Title" autofocus bind:value={title} />
      </div>
    {/if}

-
    <div style:margin-bottom="0.35rem">
+
    <div style:margin-bottom="1rem">
      <Border variant="ghost" styleGap="0">
        <div class="metadata-section" style:flex="1">
          <LabelInput