diff --git a/packages/yew-bootstrap/src/component/navbar.rs b/packages/yew-bootstrap/src/component/navbar.rs index f3147ba..9be9a12 100644 --- a/packages/yew-bootstrap/src/component/navbar.rs +++ b/packages/yew-bootstrap/src/component/navbar.rs @@ -49,7 +49,7 @@ impl Component for NavDropdownItem { onclick={props.onclick.clone()} > if let Some(icon) = props.icon { - {icon}{" "} + {icon}{" "} // add a space after the icon, otherwise it looks squished } {props.text.clone()}