mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
minor changes
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
:data="state.data"
|
:data="state.data"
|
||||||
:layout="state.layout"
|
:layout="state.layout"
|
||||||
:frames="state.frames"
|
:frames="state.frames"
|
||||||
:config="{ editable: true }"
|
:config="{ editable: true, displaylogo: false }"
|
||||||
:dataSources="dataSources"
|
:dataSources="dataSources"
|
||||||
:dataSourceOptions="dataSourceOptions"
|
:dataSourceOptions="dataSourceOptions"
|
||||||
:plotly="plotly"
|
:plotly="plotly"
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
:useResizeHandler="true"
|
:useResizeHandler="true"
|
||||||
:debug="true"
|
:debug="true"
|
||||||
:advancedTraceTypeSelector="true"
|
:advancedTraceTypeSelector="true"
|
||||||
|
class="chart"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -85,3 +86,30 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.chart {
|
||||||
|
height: calc(100% - 89px);
|
||||||
|
border-top: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
>>> .editor_controls .sidebar__item:before {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
>>> .sidebar {
|
||||||
|
width: 120px;
|
||||||
|
min-width: 120px;
|
||||||
|
max-width: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
>>> .editor_controls__wrapper>.panel,
|
||||||
|
>>> .editor_controls .panel__empty {
|
||||||
|
width: 315px;
|
||||||
|
}
|
||||||
|
>>> .editor_controls .sidebar__group__title {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
>>> .editor_controls .sidebar__item {
|
||||||
|
padding-left: 32px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'splitpanes',
|
name: 'Splitpanes',
|
||||||
props: {
|
props: {
|
||||||
horizontal: { type: Boolean, default: false },
|
horizontal: { type: Boolean, default: false },
|
||||||
before: { type: Object },
|
before: { type: Object },
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import SqlTable from '@/components/SqlTable'
|
import SqlTable from '@/components/SqlTable'
|
||||||
import SqlEditor from '@/components/SqlEditor'
|
import SqlEditor from '@/components/SqlEditor'
|
||||||
import Splitpanes from '@/components/splitpanes'
|
import Splitpanes from '@/components/Splitpanes'
|
||||||
import ViewSwitcher from '@/components/ViewSwitcher'
|
import ViewSwitcher from '@/components/ViewSwitcher'
|
||||||
import Chart from '@/components/Chart'
|
import Chart from '@/components/Chart'
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Splitpanes from '@/components/splitpanes'
|
import Splitpanes from '@/components/Splitpanes'
|
||||||
import Schema from '@/components/Schema'
|
import Schema from '@/components/Schema'
|
||||||
import Tabs from '@/components/Tabs'
|
import Tabs from '@/components/Tabs'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user