diff options
| author | Henry Jameson <me@hjkos.com> | 2018-11-21 21:28:22 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-11-21 21:28:22 +0300 |
| commit | de88cfb94d9df08ad8afa7df66d499a2fa249a98 (patch) | |
| tree | 5f26f914f2be1df998095cad26328aaf9fe055ee /src | |
| parent | 621ab806e63e42e0495fa174fd64f8eaeeb46b91 (diff) | |
compensate tab-switcher for fake borders
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/tab_switcher/tab_switcher.scss | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
