diff --git a/package.json b/package.json index c00f7935..826d524d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@netdata/netdata-ui", - "version": "5.4.13", + "version": "5.4.14", "description": "netdata UI kit", "main": "dist/index.js", "module": "dist/es6/index.js", diff --git a/src/components/tabs/styled.js b/src/components/tabs/styled.js index d6e835c4..7d65fa9c 100644 --- a/src/components/tabs/styled.js +++ b/src/components/tabs/styled.js @@ -22,8 +22,17 @@ export const StyledTabs = styled(Flex).attrs(props => ({ type: "solid", color: "border", }, + overflow: { horizontal: "auto", vertical: "hidden" }, + flex: { grow: 0, shrink: 1 }, ...props, -}))`` +}))` + -ms-overflow-style: none; + overflow: -moz-scrollbars-none; + + &::-webkit-scrollbar { + height: 0px; + } +` const colorsByFlavour = { success: { background: "menuItemSelected", borderColor: "border", color: "menuItem" },