mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 10:46:00 +00:00
secondary edit button
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import FontIcon from '../icons/FontIcon.svelte';
|
||||
|
||||
export let icon = 'icon form';
|
||||
export let secondary = false;
|
||||
</script>
|
||||
|
||||
<div
|
||||
@@ -9,6 +10,7 @@
|
||||
on:mousedown|stopPropagation|preventDefault
|
||||
on:mouseup|stopPropagation|preventDefault
|
||||
class="showFormButtonMarker"
|
||||
class:secondary
|
||||
>
|
||||
<FontIcon {icon} />
|
||||
</div>
|
||||
@@ -23,6 +25,10 @@
|
||||
border: 1px solid var(--theme-bg-1);
|
||||
}
|
||||
|
||||
.secondary {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
div:hover {
|
||||
color: var(--theme-font-hover);
|
||||
border: var(--theme-border);
|
||||
|
||||
Reference in New Issue
Block a user