Tweak sidebar database object counters styles

This commit is contained in:
Dan Sosedoff 2018-12-19 12:40:28 -06:00
parent aadee6ac8a
commit 435a67cb5d
3 changed files with 14 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -661,6 +661,14 @@
line-height: 30px; line-height: 30px;
height: 30px; height: 30px;
padding: 0px 8px; padding: 0px 8px;
overflow: hidden;
}
.schema .schema-container .schema-group .schema-group-count {
color: #999;
display: inline-block;
float: right;
margin-right: 8px;
} }
.schema .schema-container .schema-group ul { .schema .schema-container .schema-group ul {

View File

@ -124,7 +124,7 @@ function buildSchemaSection(name, objects) {
if (name == "public" && group == "table") group_klass = "expanded"; if (name == "public" && group == "table") group_klass = "expanded";
section += "<div class='schema-group " + group_klass + "'>"; section += "<div class='schema-group " + group_klass + "'>";
section += "<div class='schema-group-title'><i class='fa fa-chevron-right'></i><i class='fa fa-chevron-down'></i> " + titles[group] + " (" + objects[group].length + ")</div>"; section += "<div class='schema-group-title'><i class='fa fa-chevron-right'></i><i class='fa fa-chevron-down'></i> " + titles[group] + " <span class='schema-group-count'>" + objects[group].length + "</span></div>";
section += "<ul data-group='" + group + "'>"; section += "<ul data-group='" + group + "'>";
if (objects[group]) { if (objects[group]) {