mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-09 07:28:21 +01:00
[design] improve group name spacing
This commit is contained in:
parent
089857551c
commit
77c3895c93
@ -82,9 +82,8 @@
|
|||||||
|
|
||||||
.group-name-text {
|
.group-name-text {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-right: 1em;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2826,6 +2826,7 @@ var control = (function() {
|
|||||||
path: "group.name.show",
|
path: "group.name.show",
|
||||||
type: "checkbox",
|
type: "checkbox",
|
||||||
func: function() {
|
func: function() {
|
||||||
|
link.groupAndItems();
|
||||||
render.class();
|
render.class();
|
||||||
render.dependents();
|
render.dependents();
|
||||||
}
|
}
|
||||||
|
@ -380,10 +380,12 @@ var link = (function() {
|
|||||||
});
|
});
|
||||||
var groupControl = helper.node("div|class:group-control form-group");
|
var groupControl = helper.node("div|class:group-control form-group");
|
||||||
|
|
||||||
groupName.appendChild(groupNameText);
|
|
||||||
groupHeader.appendChild(groupControl);
|
groupHeader.appendChild(groupControl);
|
||||||
groupHeader.appendChild(groupName);
|
|
||||||
group.appendChild(groupHeader);
|
group.appendChild(groupHeader);
|
||||||
|
if (state.get.current().group.name.show) {
|
||||||
|
groupName.appendChild(groupNameText);
|
||||||
|
groupHeader.appendChild(groupName);
|
||||||
|
};
|
||||||
|
|
||||||
var groupBody = helper.node("div|class:group-body");
|
var groupBody = helper.node("div|class:group-body");
|
||||||
group.appendChild(groupBody);
|
group.appendChild(groupBody);
|
||||||
|
Loading…
Reference in New Issue
Block a user