bringing Tile up to position in button branch
This commit is contained in:
parent
3068f5980d
commit
d4b7cf52cc
1 changed files with 6 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
export let affiliate_colours;
|
||||
import { Button, Modal, ModalBody, ModalFooter, Popover } from 'yesvelte';
|
||||
|
||||
let showModal = false;
|
||||
let show = false;
|
||||
|
||||
const formatter = new Intl.ListFormat('en', {
|
||||
style: 'long',
|
||||
|
@ -70,7 +70,7 @@
|
|||
|
||||
<!-- making a dive act like a button: https://kvack.dev/blog/make-that-div-behave-like-a-button -->
|
||||
|
||||
<div on:click={() => (showModal = !showModal)} onclick="handleClick()" role="button" tabindex=0 class="tile technology">
|
||||
<div on:click={() => (show = !show)} onclick="handleClick()" role="button" tabindex=0 class="tile technology">
|
||||
<div class="links">
|
||||
<span class="website"><a href="{technology.website}" title="Project site for {technology.name}">P</a></span>
|
||||
{#if technology.repository}<span class="repository"><a
|
||||
|
@ -104,10 +104,13 @@
|
|||
{/if}
|
||||
</div>
|
||||
|
||||
<Modal title="{technology.name}" bind:showModal>
|
||||
<Modal title="{technology.name}" bind:show dismissible>
|
||||
<ModalBody>
|
||||
Modal stuff...
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button></Button>
|
||||
</ModalFooter>
|
||||
</Modal>
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Reference in a new issue