1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-10 00:28:34 +02:00

Improved displaying of long table names in menu

This commit is contained in:
Peter Knut
2024-09-03 00:34:00 +02:00
committed by Jakub Vrana
parent 11e1290b5b
commit fdeb9557cd
2 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ input.wayoff { left: -1000px; position: absolute; }
#menu p, #logins, #tables { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; } #menu p, #logins, #tables { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
#logins li, #tables li { list-style: none; } #logins li, #tables li { list-style: none; }
#dbs { overflow: hidden; } #dbs { overflow: hidden; }
#logins, #tables { white-space: nowrap; overflow: auto; } #logins, #tables { white-space: nowrap; overflow: hidden; }
#logins a, #tables a, #tables span { background: #fff; } #logins a, #tables a, #tables span { background: #fff; }
#content { margin: 2em 0 0 21em; padding: 10px 20px 20px 0; } #content { margin: 2em 0 0 21em; padding: 10px 20px 20px 0; }
#lang { position: absolute; top: 0; left: 0; line-height: 1.8em; padding: .3em 1em; } #lang { position: absolute; top: 0; left: 0; line-height: 1.8em; padding: .3em 1em; }

View File

@@ -366,7 +366,7 @@ function menuOver(event) {
* @this HTMLElement * @this HTMLElement
*/ */
function menuOut() { function menuOut() {
this.style.overflow = 'auto'; this.style.overflow = 'hidden';
} }
@@ -662,7 +662,7 @@ function ajaxForm(form, message, button) {
} }
} }
data = data.join('&'); data = data.join('&');
var url = form.action; var url = form.action;
if (!/post/i.test(form.method)) { if (!/post/i.test(form.method)) {
url = url.replace(/\?.*/, '') + '?' + data; url = url.replace(/\?.*/, '') + '?' + data;