Module:Navbox/sandbox: Difference between revisions

Content deleted Content added
try pure CSS solution
0% width hack doesn't work in Chrome, trying 1px instead
Line 191:
:addClass('navbox-image')
:addClass(args.imageclass)
:css('width', '0%1px') -- Minimize width
:css('padding', '0px 2px 0px 0px')
:cssText(args.imageleftstyle)
Line 207:
:addClass(args.groupclass)
:cssText(args.basestyle)
:css('width', args.groupwidth or '1%') -- If groupwidth not specified, minimize width
 
if args.groupwidth then
groupCell:css('width', args.groupwidth)
end
 
groupCell
Line 263 ⟶ 260:
:addClass('navbox-image')
:addClass(args.imageclass)
:css('width', '0%1px') -- Minimize width
:css('padding', '0px 0px 0px 2px')
:cssText(args.imagestyle)