Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Remove loading indicator from Share button
Merged did:key:z6MkkfM3...sVz5 opened 2 years ago
2 files changed +8 -2 fe7cd1b4 f6a77bec
modified src/components/Button.svelte
@@ -28,6 +28,7 @@
  export let styleFontFamily: string | undefined = undefined;
  export let stylePadding: string | undefined = undefined;
  export let styleWidth: "100%" | undefined = undefined;
+
  export let styleMinWidth: string | undefined = undefined;
  export let styleBorderRadius: string | undefined = undefined;
  export let styleJustifyContent: "center" | "flex-start" = "center";

@@ -319,6 +320,7 @@
  style:font-family={styleFontFamily}
  style:padding={stylePadding}
  style:width={styleWidth}
+
  style:min-width={styleMinWidth}
  style:border-radius={styleBorderRadius}
  style:justify-content={styleJustifyContent}
  on:blur
modified src/views/projects/Share.svelte
@@ -8,9 +8,9 @@

  import Button from "@app/components/Button.svelte";
  import IconSmall from "@app/components/IconSmall.svelte";
+
  import Loading from "@app/components/Loading.svelte";
  import Popover from "@app/components/Popover.svelte";
  import ShareButton from "./Header/ShareButton.svelte";
-
  import Loading from "@app/components/Loading.svelte";

  export let baseUrl: BaseUrl;

@@ -60,7 +60,11 @@
    <ShareButton slot="popover" />
  </Popover>
{:else}
-
  <Button variant="outline" size="regular" on:click={copy}>
+
  <Button
+
    styleMinWidth="5.75rem"
+
    variant="outline"
+
    size="regular"
+
    on:click={copy}>
    {#if loading}
      <Loading small noDelay />
    {:else}