mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-08-08 22:49:13 +00:00
main page, navbar mobile not fixed
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
<script>
|
||||
// Handler and presentation props
|
||||
export let onClick = () => {};
|
||||
export let border = false;
|
||||
export let textAlign = "left";
|
||||
export let whiteSpace = "nowrap";
|
||||
</script>
|
||||
|
||||
<button onclick={onClick} class="btn" class:borderless={!border} {...$$restProps}>
|
||||
<button
|
||||
onclick={onClick}
|
||||
class="btn"
|
||||
class:borderless={!border}
|
||||
style={`text-align: ${textAlign}; white-space: ${whiteSpace};`}
|
||||
{...$$restProps}
|
||||
>
|
||||
<slot />
|
||||
</button>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user