Skip to content

Commit

Permalink
Fix revert issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnstn committed Aug 25, 2021
1 parent 10da201 commit 6897116
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@

.inserter-tabs__wrapper {
overflow: hidden;
flex: 1;
}

.inserter-tabs__container {
height: 100%;
width: 100%;
}

.inserter-tabs__item {
position: absolute;
flex: 1;
flex-direction: row;
}
8 changes: 1 addition & 7 deletions packages/block-editor/src/components/inserter/tabs.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,7 @@ function InserterTabs( {
>
<Animated.View style={ containerStyle }>
{ tabs.map( ( { component: TabComponent }, index ) => (
<View
key={ `tab-${ index }` }
style={ [
styles[ 'inserter-tabs__item' ],
{ left: index * wrapperWidth },
] }
>
<View key={ `tab-${ index }` }>
<TabComponent
rootClientId={ rootClientId }
onSelect={ onSelect }
Expand Down

0 comments on commit 6897116

Please sign in to comment.