Tighten up CSS

- Remove extra padding at top of Android bubbles, via sibling selector
- Don't include .attachments, .quote-wrapper, .content in bubble unless
  we actually need them. This allows for sibling selectors.
- This is a different technique for adding the ReactWrapperView for
  quotes - it is now appended to the DOM instead of attaching to
  something already in the DOM. This allows us to use .remove(), so it's
  a bit cleaner.
- Users of ReactWrapperView can now specify tagName and className
This commit is contained in:
Scott Nonnenberg 2018-04-17 09:39:41 -07:00
parent 30957341e4
commit 26e4e97592
No known key found for this signature in database
GPG key ID: 5F82280C35134661
8 changed files with 54 additions and 20 deletions

View file

@ -17,6 +17,8 @@
const { Component, props, onClose } = options;
this.render();
this.tagName = options.tagName;
this.className = options.className;
this.Component = Component;
this.onClose = onClose;