about summary refs log tree commit diff stats
path: root/src/css/layout.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/layout.nim')
-rw-r--r--src/css/layout.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/css/layout.nim b/src/css/layout.nim
index def840c6..a937a6a2 100644
--- a/src/css/layout.nim
+++ b/src/css/layout.nim
@@ -1664,8 +1664,6 @@ proc layoutInline(ictx: var InlineContext; fragment: InlineFragment) =
     x = ictx.lbstate.widthAfterWhitespace,
     y = ictx.lbstate.offsety
   )
-  if ictx.lbstate.atoms.len > 0:
-    fragment.state.startOffset.y += ictx.cellHeight
   ictx.lbstate.size.w += padding.start
   var state = InlineState(fragment: fragment)
   if stSplitStart in fragment.splitType and