fix(tabs): remove the scrollbar of the tab container (#460)

* fix(tabs): remove the scrollbar of the tab container

* test(tabs): update snapshots
This commit is contained in:
witt
2021-02-17 19:14:27 +08:00
committed by GitHub
parent f6608affd9
commit cfd0a48688
2 changed files with 0 additions and 3 deletions

View File

@@ -4,7 +4,6 @@ exports[`Tabs should render correctly 1`] = `
"<div class=\\"tabs \\"><header class=\\"\\"><div class=\\"tab \\" role=\\"button\\">label1</div><div class=\\"tab \\" role=\\"button\\">label2</div></header><div class=\\"content\\"></div><style>
.tabs {
width: initial;
overflow: auto;
}
header {
@@ -87,7 +86,6 @@ exports[`Tabs should work correctly with different styles 1`] = `
"<div class=\\"tabs \\"><header class=\\"hide-divider\\"><div class=\\"tab \\" role=\\"button\\">label1</div></header><div class=\\"content\\"></div><style>
.tabs {
width: initial;
overflow: auto;
}
header {

View File

@@ -87,7 +87,6 @@ const Tabs: React.FC<React.PropsWithChildren<TabsProps>> = ({
<style jsx>{`
.tabs {
width: initial;
overflow: auto;
}
header {