Closed (fixed)
Project:
Brilliant Gallery
Version:
5.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 May 2008 at 10:31 UTC
Updated:
10 Apr 2010 at 10:10 UTC
Jump to comment: Most recent file
When using a thumbnail block (e.g. [bg|bg1|3|117|sort]) within other content I realized that the block always has a left border to the other content, though I wanted it to be inline.
The reason is that the css property "margin" of the tag "ul" is taken over from the global css and not modified within the styles placed by brilliant_gallery.module.
As a quick but working solution I just added "margin: 0" to the $style_ul variable to reset the css margin for html lists, I have defined. Enclosed you find a patch for the 5.x-3.0 version of brilliant gallery.
Regards,
Christian.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | brilliant_gallery-5.x-3.1_ulmargin.patch | 1.07 KB | meichr |
| brilliant_gallery.module.patch | 1.06 KB | meichr |
Comments
Comment #1
meichr commentedEnclosed is the patch ported to version 5.x-3.1 of brilliant gallery.
With this version in addition to margin also padding is set explicitly to 0.
Use this patch, if you want to place a gallery thumbnail block (e.g.[bg|bg1|3|117|sort]) within
the main content and also ul/li tags in the text are used to create lists.
The thumbnail images then will have no margin/padding to the other content and nicely flow into the main content.
A different solution would be to uncomment the div tag in the brilliant_gallery.module and to
reset ul/li margin and padding in the brilliant_gallery.css file or in the theme's css files. This
approach has not been done for simplicity.
Regards,
Christian.
Comment #2
meichr commentedThis improvment has been committed to release 5.x-4.4 at the latest. Thanks.