about summary refs log tree commit diff stats
path: root/src/css/box.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/box.nim')
-rw-r--r--src/css/box.nim7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/css/box.nim b/src/css/box.nim
index e0777878..457cccb0 100644
--- a/src/css/box.nim
+++ b/src/css/box.nim
@@ -18,10 +18,15 @@ type
     marginEdge*: CSSRect
     children*: seq[CSSBox]
 
+  CSSRowBox* = object
+    width*: int
+    height*: int
+    runes*: seq[Rune]
+
   CSSInlineBox* = ref CSSInlineBoxObj
   CSSInlineBoxObj = object of CSSBox
     fromx*: int
-    content*: FlexibleGrid
+    content*: seq[CSSRowBox]
 
   CSSBlockBox* = ref CSSBlockBoxObj
   CSSBlockBoxObj = object of CSSBox