Skip to content

Commit

Permalink
FACES-2255 Incorrect appearance of alloy:button and alloy:commandButt…
Browse files Browse the repository at this point in the history
…on menu
  • Loading branch information
ngriffin7a committed May 20, 2015
1 parent 7d7b1c2 commit f7a6321
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ public void encodeMarkupEnd(FacesContext facesContext, UIComponent uiComponent)
// end yui3-menu div
responseWriter.endElement(StringPool.DIV);

// alloy-nodemenunav-after
responseWriter.startElement(StringPool.DIV, uiComponent);
responseWriter.writeAttribute(StringPool.CLASS, "alloy-nodemenunav-after", null);
responseWriter.endElement(StringPool.DIV);
}

public void encodeMenuRecurse(UIComponent uiComponent, ResponseWriter responseWriter, boolean disabled,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
padding: 4px;
}

/* alloy-button, alloy-commandbutton */
.alloy-nodemenunav-after {
clear: both;
}

/* alloy-datatable */
table.alloy-datatable thead th.facet, table.alloy-datatable tfoot td.facet {
padding: 2px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
</alloy:link>
</alloy:menu>
</alloy:button>
<div style="clear: both;" />
</showcase:example>
</alloy:form>
</ui:define>
Expand Down Expand Up @@ -68,7 +67,6 @@
</alloy:link>
</alloy:menu>
</alloy:button>
<div style="clear: both;" />
</showcase:example>
</alloy:form>
</ui:define>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
</alloy:commandLink>
</alloy:menu>
</alloy:commandButton>
<div style="clear: both;" />
</showcase:example>
</alloy:form>
</ui:define>
Expand Down Expand Up @@ -70,7 +69,6 @@
</alloy:commandLink>
</alloy:menu>
</alloy:commandButton>
<div style="clear: both;" />
</showcase:example>
</alloy:form>
</ui:define>
Expand Down

0 comments on commit f7a6321

Please sign in to comment.