Ver código fonte

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>
Иван 4 anos atrás
pai
commit
5668eea40a
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      client/themes/default/components/tabset.vue

+ 2 - 2
client/themes/default/components/tabset.vue

@@ -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);