about summary refs log tree commit diff stats
path: root/src/layout/box.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r--src/layout/box.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim
index 87f93e0c..acbacd52 100644
--- a/src/layout/box.nim
+++ b/src/layout/box.nim
@@ -5,11 +5,8 @@ import html/dom
 import io/term
 
 type
-  BoxType* = enum
-    BOX_INLINE, BOX_BLOCK, BOX_INLINE_BLOCK, BOX_LIST_ITEM
-
   CSSBox* = ref object of RootObj
-    t*: BoxType
+    t*: CSSDisplay
     x*: int
     y*: int
     width*: int