Skip to content

Chore: Prefix imported styles to avoid leaking#165

Merged
jeremypress merged 3 commits intobox:masterfrom
jeremypress:css
Apr 13, 2018
Merged

Chore: Prefix imported styles to avoid leaking#165
jeremypress merged 3 commits intobox:masterfrom
jeremypress:css

Conversation

@jeremypress
Copy link

No description provided.

@boxcla
Copy link

boxcla commented Apr 11, 2018

Verified that @jeremypress has signed the CLA. Thanks for the pull request!

@jeremypress
Copy link
Author

@pramodsum could we somehow prefix all base annotations divs with .ba? Then we could avoid relying on Preview's selector.

Also, are you aware of us overriding any BRUI styles in later annotations CSS? I'll need to check that those are ok.

@pramodsum
Copy link
Contributor

I think we can prefix all annotation dialog/thread related divs but the tricky part becomes prefixing some preview divs such as the mode buttons in the header. Those have to remain as .bp-* because they're preview specific buttons (i.e. .bp-btn-annotate-point)

@jeremypress
Copy link
Author

Ok we can leave this as bp-container then since all annotations stuff that needs these styles will live inside of here.

@jeremypress jeremypress merged commit 629ecab into box:master Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants