Skip to content

Commit

Permalink
fix(community-tabs): remove overlow-hidden
Browse files Browse the repository at this point in the history
this will fix issue where content is being cut off in tabs
  • Loading branch information
elissa-matsushita authored and jraff committed Mar 17, 2021
1 parent 0fb4bec commit d8e0e0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions packages/Tabs/__tests__/__snapshots__/Tabs.spec.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ exports[`Tabs renders 1`] = `
}
.c0 {
overflow: hidden;
padding-top: 6px;
}
Expand Down Expand Up @@ -408,7 +407,7 @@ exports[`Tabs renders 1`] = `
"isStatic": false,
"lastClassName": "c0",
"rules": Array [
"overflow:hidden;padding-top:6px;> div{position:relative;}.react-tabs__tab-list{padding:2px 0 0 0;}.react-tabs__tab{display:inline-flex;cursor:pointer;margin:0 2px;@media (min-width:768px){margin:0 6px;}min-height:45px;min-width:44px;text-align:center;position:relative;&:active,&.react-tabs__tab--selected{h4{text-shadow:0px 0px 1px ",
"padding-top:6px;> div{position:relative;}.react-tabs__tab-list{padding:2px 0 0 0;}.react-tabs__tab{display:inline-flex;cursor:pointer;margin:0 2px;@media (min-width:768px){margin:0 6px;}min-height:45px;min-width:44px;text-align:center;position:relative;&:active,&.react-tabs__tab--selected{h4{text-shadow:0px 0px 1px ",
"#2a2c2e",
";}}&:focus{outline:none;}}.react-tabs__tab-panel{display:none;&.react-tabs__tab-panel--selected{display:block;margin-top:0;}}",
[Function],
Expand Down Expand Up @@ -507,7 +506,6 @@ exports[`Tabs renders 1`] = `
}
.c0 {
overflow: hidden;
padding-top: 6px;
}
Expand Down
1 change: 0 additions & 1 deletion packages/Tabs/styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { colorWhite, colorGreyGainsboro, colorGreyShark, colorGreyRaven } from '
import styled, { css } from 'styled-components'

export const TabsContainer = styled.div`
overflow: hidden;
padding-top: 6px;
> div {
position: relative;
Expand Down

0 comments on commit d8e0e0d

Please sign in to comment.