fix native open button, button align
parent
5ff91af98e
commit
4d413dde80
|
@ -7,7 +7,7 @@
|
||||||
import { useEntity } from "../../lib/entity";
|
import { useEntity } from "../../lib/entity";
|
||||||
import { readable } from "svelte/store";
|
import { readable } from "svelte/store";
|
||||||
import { notify, UpNotification } from "../../notifications";
|
import { notify, UpNotification } from "../../notifications";
|
||||||
import IconButton from "../utils/IconButton.svelte";
|
import IconButton from "../utils/IconButton.svelte";
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
export let address: string;
|
export let address: string;
|
||||||
|
@ -88,11 +88,13 @@ import IconButton from "../utils/IconButton.svelte";
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if banner && isFile}
|
{#if banner && isFile}
|
||||||
<IconButton
|
<div class="icon">
|
||||||
name="arrow-up-right-circle"
|
<IconButton
|
||||||
on:click={nativeOpen}
|
name="window-open"
|
||||||
title="Open in default application..."
|
on:click={nativeOpen}
|
||||||
/>
|
title="Open in default application..."
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -131,6 +133,10 @@ import IconButton from "../utils/IconButton.svelte";
|
||||||
width: 0.5em;
|
width: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
margin: 0 .25em;
|
||||||
|
}
|
||||||
|
|
||||||
.resolving {
|
.resolving {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
color: inherit;
|
color: inherit;
|
||||||
opacity: 0.66;
|
opacity: 0.66;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
transition: opacity 0.2s, color 0.2s;
|
transition: opacity 0.2s, color 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue