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