buddydrive icon indicating copy to clipboard operation
buddydrive copied to clipboard

Added classes for styling

Open paperrobots opened this issue 9 years ago • 3 comments

When I post a link to a file in the buddypress activity feed buddydrive outputs divs with hardcoded inline widths on elements. This isn't the worst thing but there's not classes on these divs. Which makes it a pain in the butt to re-style them without affecting other elements. Any chance you could just add some classes or remove the fixed inline widths?

The default styling is just a little funky with that fixed width. screen shot 2016-07-06 at 3 06 47 pm

paperrobots avatar Jul 06 '16 19:07 paperrobots

Hi thanks for your feedback, what class would you suggest ?

imath avatar Jul 10 '16 15:07 imath

I'd just put classes on all the divs similar to how you output it on the Buddydrive file page itself. You have buddydrive-icon, buddydrive-content, etc. Those all work great on that page. Just add those same classes or similar to the activity feed when posting a link for a file. That would be super helpful! Thanks for the response!

paperrobots avatar Jul 12 '16 19:07 paperrobots

Hi @paperrobots, The markup will be getting some updating in the next major release that will include some additional classes for styling. Thanks!

mrpritchett avatar Jan 06 '18 15:01 mrpritchett