mirror of
https://github.com/vrana/adminer.git
synced 2025-08-28 08:39:53 +02:00
SimpleDB: Display overflown table names
This commit is contained in:
@@ -58,7 +58,7 @@ input.required { box-shadow: 1px 1px 1px red; }
|
||||
#menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
|
||||
#dbs { overflow: hidden; }
|
||||
#logins, #tables { white-space: nowrap; overflow: auto; text-overflow: ellipsis; }
|
||||
#logins a, #tables a { background: #fff; }
|
||||
#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; }
|
||||
#breadcrumb { white-space: nowrap; position: absolute; top: 0; left: 21em; background: #eee; height: 2em; line-height: 1.8em; padding: 0 1em; margin: 0 0 0 -18px; }
|
||||
|
@@ -248,7 +248,7 @@ function pageClick(href, page, event) {
|
||||
*/
|
||||
function menuOver(el, event) {
|
||||
var a = event.target;
|
||||
if (/^a$/i.test(a.tagName) && a.offsetLeft + a.offsetWidth > a.parentNode.offsetWidth - 15) { // 15 - ellipsis
|
||||
if (/^(a|span)$/i.test(a.tagName) && a.offsetLeft + a.offsetWidth > a.parentNode.offsetWidth - 15) { // 15 - ellipsis
|
||||
el.style.overflow = 'visible';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user