1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 18:48:55 +08:00

No db in schema sidebar #10

This commit is contained in:
lana-k
2020-11-13 23:32:37 +01:00
parent 92e6150ea5
commit 39151732cf
5 changed files with 43 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div v-show="visible" class="chart-container">
<div class="chart-worning" v-show="!sqlResult && visible">
<div class="worning chart-worning" v-show="!sqlResult && visible">
There is no data to build a chart. Run your sql query and make sure the result is not empty.
</div>
<PlotlyEditor
@@ -96,12 +96,8 @@ export default {
height: calc(100% - 89px);
}
.chart-worning {
background-color: var(--color-bg-warning);
height: 40px;
line-height: 40px;
color: var(--color-text-base);
font-size: 13px;
padding: 0 24px;
}
.chart {
border-top: 1px solid var(--color-border);

View File

@@ -56,6 +56,8 @@ label {
border: 1px dashed var(--color-border);
padding: 8px;
border-radius: var(--border-radius-big);
height: 100%;
box-sizing: border-box;
}
.drop-area {
background-color: var(--color-bg-light-3);
@@ -67,6 +69,7 @@ label {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
input {
display: none;