Update styles
This commit is contained in:
@@ -12,9 +12,18 @@
|
||||
function handleClick() {
|
||||
onClick(value);
|
||||
}
|
||||
console.log("toolTipProps", toolTipProps);
|
||||
</script>
|
||||
|
||||
<ToolTip title={toolTipProps.title} hotkeys={toolTipProps.hotkeys}>
|
||||
<button
|
||||
class={`root ${selected && "active"}`}
|
||||
{disabled}
|
||||
on:click={handleClick}
|
||||
>
|
||||
<slot />
|
||||
</button>
|
||||
</ToolTip>
|
||||
|
||||
<style lang="scss">
|
||||
.root {
|
||||
flex: 0 0 auto;
|
||||
@@ -41,12 +50,3 @@
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<ToolTip title={toolTipProps.title} hotkeys={toolTipProps.hotkeys}>
|
||||
<button
|
||||
class={`root ${selected && 'active'}`}
|
||||
{disabled}
|
||||
on:click={handleClick}>
|
||||
<slot />
|
||||
</button>
|
||||
</ToolTip>
|
||||
|
||||
Reference in New Issue
Block a user