mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Make lines 100% of the width of their container
This is part of the solution to #2701. Lines need to be 100% wide in case a class styles their background.
This commit is contained in:
@@ -129,7 +129,7 @@ LinesComponent = React.createClass
|
||||
classes += 'line'
|
||||
|
||||
top = screenRow * lineHeightInPixels
|
||||
lineHTML = "<div class=\"#{classes}\" style=\"position: absolute; top: #{top}px;\" data-screen-row=\"#{screenRow}\">"
|
||||
lineHTML = "<div class=\"#{classes}\" style=\"position: absolute; top: #{top}px; width: 100%;\" data-screen-row=\"#{screenRow}\">"
|
||||
|
||||
if text is ""
|
||||
lineHTML += @buildEmptyLineInnerHTML(line)
|
||||
|
||||
Reference in New Issue
Block a user