mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Tweak sidebar database object counters styles
This commit is contained in:
parent
aadee6ac8a
commit
435a67cb5d
File diff suppressed because one or more lines are too long
@ -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 {
|
||||||
|
@ -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]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user