mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 09:56:01 +00:00
buttons folder
This commit is contained in:
27
packages/web/src/buttons/ToolStripContainer.svelte
Normal file
27
packages/web/src/buttons/ToolStripContainer.svelte
Normal file
@@ -0,0 +1,27 @@
|
||||
<div class="toolstrip">
|
||||
<slot name="toolstrip" />
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.content {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: var(--dim-toolbar-height);
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.toolstrip {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
height: var(--dim-toolbar-height);
|
||||
right: 0;
|
||||
display: flex;
|
||||
background: var(--theme-bg-0);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user