mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
[Gutter] Remove test-only CSS
This commit is contained in:
parent
28ff5dd3c3
commit
5dfa6b3e1e
@ -3,11 +3,6 @@
|
||||
# This class represents a gutter other than the 'line-numbers' gutter.
|
||||
# The contents of this gutter may be specified by Decorations.
|
||||
|
||||
# TODO (jssln) Remove these (testing-only).
|
||||
TEMP_MIN_WIDTH = 25
|
||||
TEMP_DECOR_WIDTH = '50px'
|
||||
TEMP_DECOR_BACKGROUND = 'white'
|
||||
|
||||
module.exports =
|
||||
class CustomGutterComponent
|
||||
|
||||
@ -19,8 +14,6 @@ class CustomGutterComponent
|
||||
@domNode = atom.views.getView(@gutter)
|
||||
@decorationsNode = @domNode.firstChild
|
||||
|
||||
@domNode.style['width'] = '' + TEMP_MIN_WIDTH + 'px'
|
||||
|
||||
getDomNode: ->
|
||||
@domNode
|
||||
|
||||
@ -73,8 +66,6 @@ class CustomGutterComponent
|
||||
newNode.style.top = decorationInfo.top + 'px'
|
||||
newNode.style.height = decorationInfo.height + 'px'
|
||||
newNode.style.position = 'absolute'
|
||||
newNode.style['background-color'] = TEMP_DECOR_BACKGROUND
|
||||
newNode.style.width = TEMP_DECOR_WIDTH
|
||||
if decorationInfo.class
|
||||
newNode.classList.add(decorationInfo.class)
|
||||
@setDecorationItem(decorationInfo.item, decorationInfo.height, decorationId, newNode)
|
||||
|
Loading…
Reference in New Issue
Block a user