fix: tabset tabs can't be scrolled (#2442)

* fix: tabset tabs can't be scrolled

Fix for #2091. The change advised in that issue works brilliantly.

* fix: tabset scrollbar is visible even if unnecessary

* fix: tabset tall headers

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
Иван 2020-09-27 02:07:17 +03:00 committed by GitHub
parent dd27d58a28
commit 5668eea40a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,11 +60,11 @@ export default {
padding-left: 0; padding-left: 0;
margin: 0; margin: 0;
display: flex; display: flex;
align-items: center; align-items: stretch;
background: linear-gradient(to bottom, #FFF, #FAFAFA); background: linear-gradient(to bottom, #FFF, #FAFAFA);
box-shadow: inset 0 -1px 0 0 #DDD; box-shadow: inset 0 -1px 0 0 #DDD;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
overflow: hidden; overflow: auto;
@at-root .theme--dark & { @at-root .theme--dark & {
background: linear-gradient(to bottom, #424242, #333); background: linear-gradient(to bottom, #424242, #333);