SimpleDB: Display overflown table names
This commit is contained in:
parent
75439423d9
commit
127b3f6154
|
@ -840,7 +840,7 @@ username.form['auth[driver]'].onchange();
|
||||||
$name = $this->tableName($status);
|
$name = $this->tableName($status);
|
||||||
echo (support("table")
|
echo (support("table")
|
||||||
? '<a href="' . h(ME) . 'table=' . urlencode($table) . '"' . bold(in_array($table, array($_GET["table"], $_GET["create"], $_GET["indexes"], $_GET["foreign"], $_GET["trigger"]))) . " title='" . lang('Show structure') . "'>$name</a>"
|
? '<a href="' . h(ME) . 'table=' . urlencode($table) . '"' . bold(in_array($table, array($_GET["table"], $_GET["create"], $_GET["indexes"], $_GET["foreign"], $_GET["trigger"]))) . " title='" . lang('Show structure') . "'>$name</a>"
|
||||||
: $name
|
: "<span>$name</span>"
|
||||||
) . "<br>\n";
|
) . "<br>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ input.required { box-shadow: 1px 1px 1px red; }
|
||||||
#menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
|
#menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
|
||||||
#dbs { overflow: hidden; }
|
#dbs { overflow: hidden; }
|
||||||
#logins, #tables { white-space: nowrap; overflow: auto; text-overflow: ellipsis; }
|
#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; }
|
#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; }
|
||||||
#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; }
|
#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) {
|
function menuOver(el, event) {
|
||||||
var a = event.target;
|
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';
|
el.style.overflow = 'visible';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue