diff --git a/src/components/Button.svelte b/src/components/Button.svelte index 04dff3dc9..b9f9a5b9c 100644 --- a/src/components/Button.svelte +++ b/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 diff --git a/src/views/projects/Share.svelte b/src/views/projects/Share.svelte index bb5fe31ff..2a39d6c74 100644 --- a/src/views/projects/Share.svelte +++ b/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 @@ {:else} -