Use of padding should be margin instead

eternalistic - July 3, 2009 - 22:09
Project:Ubercart
Version:6.x-2.0-rc3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Issue tags:theme layer
Description

I'm in the process of theming the Category image on the Catalog page and with how the code is structured now the CSS reads:

img.category {
  float:right;
  padding-left:1em;
}

And when I apply a border to that image it looks like so:

http://content.screencast.com/users/eternalistic/folders/Jing/media/9644...

The reason the border isn't appearing correctly is due to the "padding-left:1em;". This should instead read "margin-left:1em;". Once changed it looks correct like this:

http://content.screencast.com/users/eternalistic/folders/Jing/media/1639...

Can we please get this changed so it is correct in the module? Thanks for all the hard work!

#1

rszrama - July 8, 2009 - 03:16
Status:active» fixed

Committed. Feel free to point out other CSS goofs; we know a lot more now than we did then. : P

#2

System Message - July 22, 2009 - 03:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.