witten
/
luminotes
Archived
1
0
Fork 0

Table layout fixes.

This commit is contained in:
Dan Helfman 2008-04-13 19:59:52 +00:00
parent a3909d05d5
commit 31a052b870
2 changed files with 6 additions and 0 deletions

View File

@ -266,6 +266,10 @@ img {
margin-left: 0.5em;
}
#note_tree_root_table {
margin-bottom: 1em;
}
.note_tree_table {
border-collapse: collapse;
}

View File

@ -25,6 +25,7 @@ class Note_tree_area( Div ):
has_children = self.LINK_PATTERN.search( note.contents ),
root_note_id = note.object_id,
) for note in root_notes ],
tree_id = "note_tree_root_table",
),
id = u"note_tree_area_holder",
),
@ -57,5 +58,6 @@ class Note_tree_area( Div ):
def make_tree( items, tree_id = None ):
return Table(
items,
id = tree_id or None,
class_ = u"note_tree_table",
)