From de88cfb94d9df08ad8afa7df66d499a2fa249a98 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 21 Nov 2018 21:28:22 +0300 Subject: [PATCH] compensate tab-switcher for fake borders --- src/components/tab_switcher/tab_switcher.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss index 4740fbde..fee30800 100644 --- a/src/components/tab_switcher/tab_switcher.scss +++ b/src/components/tab_switcher/tab_switcher.scss @@ -13,6 +13,8 @@ width: 100%; overflow: hidden; padding-top: 5px; + height: 32px; + box-sizing: border-box; &::after, &::before { display: block; @@ -29,7 +31,7 @@ .tab { border-bottom-left-radius: 0; border-bottom-right-radius: 0; - padding: .3em 1em; + padding: .3em 1em 99px; &:not(.active) { border-bottom: 1px solid;