[buddypress-trac] [BuddyPress] #5167: CSS breaks wp_editor on BP pages

buddypress-trac noreply at wordpress.org
Sat Oct 5 13:48:12 UTC 2013


#5167: CSS breaks wp_editor on BP pages
--------------------------+--------------------
 Reporter:  netweblogic   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.9
Component:  Core          |     Version:  1.8.1
 Severity:  normal        |  Resolution:
 Keywords:  ui-feedback   |
--------------------------+--------------------

Comment (by netweblogic):

 Replying to [comment:1 boonebgorges]:


 > netweblogic, you can override those specific styles in your plugin if
 you want to work around the issue in the meantime.



 Boone, thanks for your input, it helped.

 Whilst I'm sure the offending lines of CSS you referred to has other
 implications for any plugin making use of tables on BP pages (including EM
 in other parts, but nothing major thankfully), here's a couple of lines
 that clean up the editor so it's useable:


 {{{
 #buddypress .wp-editor-wrap table {
         width:auto;
 }
 #buddypress .wp-editor-wrap table tr td,
 #buddypress .wp-editor-wrap table tr th {
         padding:0;
 }
 #buddypress .wp-editor-wrap a.button,
 #buddypress .wp-editor-wrap button,
 #buddypress .wp-editor-wrap input[type=submit],
 #buddypress .wp-editor-wrap input[type=button],
 #buddypress .wp-editor-wrap input[type=reset] {
         padding: 0px 10px 1px;
 }
 }}}

 This sorts out padding, the only other probem I notice are the media and
 html buttons are shaded slightly differently according to your CSS, but
 it's very subtle and acceptable!

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5167#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list