pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Brick to manually set style on host element

Open twschiller opened this issue 3 years ago • 0 comments

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 style attribute? 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

twschiller avatar Mar 05 '22 15:03 twschiller