Skip to content

Commit 879967b

Browse files
author
Rafael J. Staib
committed
Add clearfix to steps, content & actions wrapper
1 parent 4e84762 commit 879967b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

build/jquery.steps.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,8 @@ function render(wizard, options, state)
614614
var wrapperTemplate = "<{0} class=\"{1}\">{2}</{0}>",
615615
orientation = getValidEnumValue(stepsOrientation, options.stepsOrientation),
616616
verticalCssClass = (orientation === stepsOrientation.vertical) ? " vertical" : "",
617-
contentWrapper = $(format(wrapperTemplate, options.contentContainerTag, "content", wizard.html())),
618-
stepsWrapper = $(format(wrapperTemplate, options.stepsContainerTag, "steps", "<ul role=\"tablist\"></ul>")),
617+
contentWrapper = $(format(wrapperTemplate, options.contentContainerTag, "content clearfix", wizard.html())),
618+
stepsWrapper = $(format(wrapperTemplate, options.stepsContainerTag, "steps clearfix", "<ul role=\"tablist\"></ul>")),
619619
stepTitles = contentWrapper.children(options.headerTag),
620620
stepContents = contentWrapper.children(options.bodyTag);
621621

@@ -655,7 +655,7 @@ function renderPagination(wizard, options, state)
655655
{
656656
if (options.enablePagination)
657657
{
658-
var pagination = "<{0} class=\"actions\"><ul role=\"menu\" aria-label=\"{1}\">{2}</ul></{0}>",
658+
var pagination = "<{0} class=\"actions clearfix\"><ul role=\"menu\" aria-label=\"{1}\">{2}</ul></{0}>",
659659
buttonTemplate = "<li><a href=\"#{0}\" role=\"menuitem\">{1}</a></li>",
660660
buttons = "";
661661

0 commit comments

Comments
 (0)