From ac95779a7527e844f172614e19b53a8a72a35831 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 18 Dec 2016 17:41:03 +0100 Subject: [PATCH] Wrap src mixin in nowrap to prevent line break between text and icon --- website/_includes/_mixins.jade | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index fc8af5f26..3a15e4518 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -29,10 +29,11 @@ mixin a(url, trusted) see _functions.jade for more info mixin src(url) - +a(url) - block + span.u-inline-block.u-nowrap + +a(url) + block - | #[+icon("code", 16).u-color-subtle] + | #[+icon("code", 16).u-color-subtle] //- API link (with added tag and automatically generated path)