Module:Gallery: Difference between revisions

Jump to navigation Jump to search
Use min-height on div element.
(per talk page)
(Use min-height on div element.)
Line 68:
local cellWidth = tonumber(args.cellwidth) or tonumber(args.width) or 180
local imgHeight = tonumber(args.height) or 180
local lines = tonumber(args.lines) or 2
local captionstyle = args.captionstyle
Line 109 ⟶ 110:
:tag('div')
:addClass('gallerytext')
:css('min-height', (0.1 + 1.5*lines) .. 'em')
:css('width', textWidth .. 'px')
:css('line-height', '1.3em')
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu