
Made the menu significantly better and made it possible to upload files directly from the post page
27 lines
No EOL
448 B
Svelte
27 lines
No EOL
448 B
Svelte
<style>
|
|
.button {
|
|
padding: 0.5rem;
|
|
background-color: var(--dark-3);
|
|
border: none;
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
margin: 0.2rem;
|
|
}
|
|
|
|
.button a {
|
|
color: var(--light-1);
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>
|
|
export let clickFunc = () => {};
|
|
export let button = '';
|
|
</script>
|
|
|
|
<button on:click={clickFunc} class='button'>
|
|
<a href='#'><slot/></a>
|
|
</button> |