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

fix some minor style issues

This commit is contained in:
lana-k
2020-11-14 23:08:19 +01:00
parent 20c1e3f1cc
commit d586e43d6e
3 changed files with 19 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "sqliteviz",
"version": "0.5.0",
"version": "1.0.0",
"license" : "Apache-2.0",
"private": true,
"scripts": {

View File

@@ -1,5 +1,5 @@
<template>
<div>
<div class="db-upload-container">
<label for="assetsFieldHandle">
<div class="drop-area" @dragover="dragover" @dragleave="dragleave" @drop="drop">
<input
@@ -9,7 +9,7 @@
ref="file"
accept=".db,.sqlite,.sqlite3"
/>
<div>
<div class="text">
Drop the database file to upload here or click to choose a file from your computer.
</div>
</div>
@@ -57,8 +57,10 @@ label {
padding: 8px;
border-radius: var(--border-radius-big);
height: 100%;
width: 100%;
box-sizing: border-box;
}
.drop-area {
background-color: var(--color-bg-light-3);
border-radius: var(--border-radius-big);
@@ -71,6 +73,7 @@ label {
justify-content: center;
height: 100%;
}
input {
display: none;
}

View File

@@ -53,14 +53,26 @@ export default {
#db-uploader {
flex-grow: 1;
margin: 24px;
padding: 24px;
width: 100%;
box-sizing: border-box;
}
.warning {
padding: 12px 24px;
width: 100%;
box-sizing: border-box;
}
>>> .db-upload-container {
width: 100%;
}
>>>.drop-area {
padding: 0 15px;
}
>>>.drop-area .text {
max-width: 200px;
}
</style>