sidebar styling
This commit is contained in:
parent
d8615fa18d
commit
ff19d0cf8e
9 changed files with 185 additions and 35 deletions
|
@ -14,6 +14,10 @@ define([], function () {
|
|||
sidebar.classList.toggle("hidden")
|
||||
}
|
||||
|
||||
var container = document.createElement("div")
|
||||
container.classList.add("container")
|
||||
sidebar.appendChild(container)
|
||||
|
||||
self.getWidth = function () {
|
||||
if (sidebar.classList.contains("hidden"))
|
||||
return 0
|
||||
|
@ -23,7 +27,7 @@ define([], function () {
|
|||
}
|
||||
|
||||
self.add = function (d) {
|
||||
d.render(sidebar)
|
||||
d.render(container)
|
||||
}
|
||||
|
||||
self.container = sidebar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue