Table layout fixes.
This commit is contained in:
parent
a3909d05d5
commit
31a052b870
|
@ -266,6 +266,10 @@ img {
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#note_tree_root_table {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.note_tree_table {
|
.note_tree_table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,7 @@ class Note_tree_area( Div ):
|
||||||
has_children = self.LINK_PATTERN.search( note.contents ),
|
has_children = self.LINK_PATTERN.search( note.contents ),
|
||||||
root_note_id = note.object_id,
|
root_note_id = note.object_id,
|
||||||
) for note in root_notes ],
|
) for note in root_notes ],
|
||||||
|
tree_id = "note_tree_root_table",
|
||||||
),
|
),
|
||||||
id = u"note_tree_area_holder",
|
id = u"note_tree_area_holder",
|
||||||
),
|
),
|
||||||
|
@ -57,5 +58,6 @@ class Note_tree_area( Div ):
|
||||||
def make_tree( items, tree_id = None ):
|
def make_tree( items, tree_id = None ):
|
||||||
return Table(
|
return Table(
|
||||||
items,
|
items,
|
||||||
|
id = tree_id or None,
|
||||||
class_ = u"note_tree_table",
|
class_ = u"note_tree_table",
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue