pixiebrix-extension
pixiebrix-extension copied to clipboard
Brick to manually set style on host element
Context
- As a extension developer, I want to be able to modify the style of an element on the page (e.g., reduce padding/margin)
Considerations
- Set
styleattribute? Alternative would be to add classname associated with the brick instance and inject CSS
Related:
- Highlight brick is a special case of this, which controls background color
- Show/Hide is a special case of this. We use JQuery's hide/remove methods