diff --git a/src/main/java/net/bootsfaces/component/navBar/NavBarRenderer.java b/src/main/java/net/bootsfaces/component/navBar/NavBarRenderer.java index f843649cc..8cf44928c 100644 --- a/src/main/java/net/bootsfaces/component/navBar/NavBarRenderer.java +++ b/src/main/java/net/bootsfaces/component/navBar/NavBarRenderer.java @@ -191,7 +191,7 @@ public void encodeBegin(FacesContext context, UIComponent component) throws IOEx rw.startElement("img", navBar); rw.writeAttribute("alt", altText, "alt"); rw.writeAttribute("src", brandImg, "src"); - writeAttribute(rw, "style", navBar.getBrandImgStyle()); + writeAttribute(rw, "style", "vertical-align: top; " + navBar.getBrandImgStyle()); writeAttribute(rw, "class", navBar.getBrandImgStyleClass()); rw.endElement("img"); }