From 8dc85b551a3cdbc52520e8fd6a9568a0f10df504 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Sat, 19 Sep 2009 19:48:40 +0000 Subject: [PATCH] Maximum width of type with foreign keys git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1116 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/default.css | 1 + adminer/include/editing.inc.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/adminer/default.css b/adminer/default.css index c4c1b4b7..5718de50 100644 --- a/adminer/default.css +++ b/adminer/default.css @@ -30,6 +30,7 @@ tr:hover td, tr:hover th { background: #ddf; } .odd td { background: #F5F5F5; } .time { color: Silver; font-size: 70%; float: right; margin-top: -3em; } .function { text-align: right; } +.type { width: 15ex; width: auto\9; } #menu { position: absolute; margin: 10px 0 0; padding: 0 0 30px 0; top: 2em; left: 0; width: 19em; overflow: auto; overflow-y: hidden; white-space: nowrap; } #menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; } #content { margin: 2em 0 0 21em; padding: 10px 20px 20px 0; } diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index 60e2e607..a75afa98 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -97,7 +97,7 @@ function referencable_primary($self) { function edit_type($key, $field, $collations, $foreign_keys = array()) { global $structured_types, $unsigned, $inout; ?> - + " size="3">