From e8a9ae20c198e67173d76ead9c7bbc22d05ea7e6 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 30 Aug 2019 16:51:18 +0900 Subject: [PATCH] Improved tab size on mobile devices --- styles/tabs.scarlet | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/styles/tabs.scarlet b/styles/tabs.scarlet index 262f06ca..75262de8 100644 --- a/styles/tabs.scarlet +++ b/styles/tabs.scarlet @@ -1,8 +1,10 @@ +const tab-padding-x = 1rem + .tab horizontal align-items center color text-color - padding 0.5rem 1rem + padding 0.5rem tab-padding-x background-color tab-background border ui-border border-left none @@ -31,6 +33,8 @@ < 920px .tab + padding 0.75rem tab-padding-x + .padded-icon margin-right 0