From 73129001667037ff1fab94cc97b7191b4e5fbefb Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Sun, 22 May 2022 17:38:45 +0200 Subject: [PATCH] Hide nav button labels on small screens --- src/Applications/UI/Navigation.elm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Applications/UI/Navigation.elm b/src/Applications/UI/Navigation.elm index 0d49c9d7..80471fc3 100644 --- a/src/Applications/UI/Navigation.elm +++ b/src/Applications/UI/Navigation.elm @@ -246,12 +246,16 @@ localItem tabindex_ { amount } ( Icon icon, Label labelText labelType, action ) slab Html.span [] - [ "inline-block" + [ "hidden" , "leading-tight" , "ml-1" , "transform" , "translate-y-px" , "truncate" + + -- Responsive + ------------- + , "sm:inline-block" ] [ text labelText ] ] -- 2.51.2