]> git.joonet.de Git - adminer.git/commitdiff
Improved displaying of long table names in menu
authorPeter Knut <peter@pematon.com>
Mon, 2 Sep 2024 22:34:00 +0000 (00:34 +0200)
committerJakub Vrana <jakub@vrana.cz>
Wed, 19 Feb 2025 10:16:36 +0000 (11:16 +0100)
adminer/static/default.css
adminer/static/functions.js

index 7449792238d7d1da640c7db002e225c3ced5d8d0..8f125fd15bb1c5270b009d83e8f7e232d10c13d7 100644 (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; }
 #logins li, #tables li { list-style: none; }
 #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; }
 #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; }
index 9242db32584cca2492d991bd3b9852b9077619e9..afb37245739b89f6b6e1a7d22d7cfc6e5d8bc1bd 100644 (file)
@@ -366,7 +366,7 @@ function menuOver(event) {
 * @this HTMLElement
 */
 function menuOut() {
-       this.style.overflow = 'auto';
+       this.style.overflow = 'hidden';
 }
 
 
@@ -662,7 +662,7 @@ function ajaxForm(form, message, button) {
                }
        }
        data = data.join('&');
-       
+
        var url = form.action;
        if (!/post/i.test(form.method)) {
                url = url.replace(/\?.*/, '') + '?' + data;