1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-01-27 23:59:38 +01:00

Minor Improvements

This commit is contained in:
Fabio 2020-07-31 15:45:32 +02:00
parent f8a0783769
commit 70908eb076
7 changed files with 19 additions and 12 deletions

View File

@ -15,10 +15,10 @@ let mainWindow;
async function createMainWindow () {
const icon = require('../renderer/images/logo-32.png');
const window = new BrowserWindow({
width: 1600,
height: 1000,
minHeight: 550,
width: 1024,
height: 800,
minWidth: 900,
minHeight: 550,
title: 'Antares',
autoHideMenuBar: true,
icon: nativeImage.createFromDataURL(icon.default),

View File

@ -86,7 +86,6 @@ export default {
text-overflow: ellipsis;
display: inline-block;
max-width: 30rem;
user-select: none;
}
.expanded .notification-message{

View File

@ -36,7 +36,7 @@
<option value="maria">
MariaDB
</option>
<option value="mssql">
<!-- <option value="mssql">
Microsoft SQL
</option>
<option value="pg">
@ -44,7 +44,7 @@
</option>
<option value="oracledb">
Oracle DB
</option>
</option> -->
</select>
</div>
</div>

View File

@ -40,7 +40,7 @@
<option value="maria">
MariaDB
</option>
<option value="mssql">
<!-- <option value="mssql">
Microsoft SQL
</option>
<option value="pg">
@ -48,7 +48,7 @@
</option>
<option value="oracledb">
Oracle DB
</option>
</option> -->
</select>
</div>
</div>

View File

@ -173,7 +173,7 @@ export default {
},
checkNotificationsTimeout () {
if (!this.localTimeout)
this.localTimeout = 1;
this.localTimeout = 10;
this.updateNotificationsTimeout(+this.localTimeout);
}

View File

@ -50,8 +50,9 @@
class="form-input textarea-editor"
/>
</div>
<div class="pt-2">
<b>{{ $t('word.size') }}</b>: {{ localContent.length }}
<div class="editor-field-info">
<div><b>{{ $t('word.size') }}</b>: {{ localContent.length }}</div>
<div><b>{{ $t('word.type') }}</b>: {{ type.toUpperCase() }}</div>
</div>
</div>
</div>
@ -222,4 +223,10 @@ export default {
.textarea-editor{
height: 50vh!important;
}
.editor-field-info{
margin-top: .6rem;
display: flex;
justify-content: space-between;
}
</style>

View File

@ -31,7 +31,8 @@ module.exports = {
schema: 'Schema',
results: 'Results',
size: 'Size',
seconds: 'Seconds'
seconds: 'Seconds',
type: 'Type'
},
message: {
appWelcome: 'Welcome to Antares SQL Client!',