mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 09:16:01 +00:00
SYNC: diagram style
This commit is contained in:
committed by
Diflow
parent
fc7e96feb9
commit
c99ca9edcc
@@ -195,12 +195,12 @@
|
||||
{#if designer?.style?.showNullability || designer?.style?.showDataType}
|
||||
<div class="space" />
|
||||
{#if designer?.style?.showDataType && column?.dataType}
|
||||
<div class="ml-2">
|
||||
<div class="ml-2 data-type">
|
||||
{(column?.displayedDataType || column?.dataType).toLowerCase()}
|
||||
</div>
|
||||
{/if}
|
||||
{#if designer?.style?.showNullability}
|
||||
<div class="ml-2">
|
||||
<div class="ml-2 nullability">
|
||||
{column?.notNull ? 'NOT NULL' : 'NULL'}
|
||||
</div>
|
||||
{/if}
|
||||
@@ -238,4 +238,12 @@
|
||||
background: var(--theme-bg-2);
|
||||
color: var(--theme-font-hover);
|
||||
}
|
||||
|
||||
.nullability {
|
||||
color: var(--theme-font-4);
|
||||
}
|
||||
|
||||
.data-type {
|
||||
color: var(--theme-font-4);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user