diff --git a/superset-frontend/spec/javascripts/profile/App_spec.tsx b/superset-frontend/spec/javascripts/profile/App_spec.tsx
index db466d54f..379d3c827 100644
--- a/superset-frontend/spec/javascripts/profile/App_spec.tsx
+++ b/superset-frontend/spec/javascripts/profile/App_spec.tsx
@@ -20,7 +20,6 @@ import React from 'react';
import { Row, Col } from 'src/common/components';
import { shallow } from 'enzyme';
import App from 'src/profile/components/App';
-import Tabs from 'src/components/Tabs';
import { user } from './fixtures';
@@ -40,6 +39,6 @@ describe('App', () => {
it('renders 4 Tabs', () => {
const wrapper = shallow();
- expect(wrapper.find(Tabs.TabPane)).toHaveLength(4);
+ expect(wrapper.find('[tab]')).toHaveLength(4);
});
});
diff --git a/superset-frontend/src/profile/components/App.tsx b/superset-frontend/src/profile/components/App.tsx
index 1afbaa13a..5a509e774 100644
--- a/superset-frontend/src/profile/components/App.tsx
+++ b/superset-frontend/src/profile/components/App.tsx
@@ -17,10 +17,9 @@
* under the License.
*/
import React from 'react';
+import { t, styled } from '@superset-ui/core';
import { Row, Col } from 'src/common/components';
-import { Panel } from 'react-bootstrap';
import Tabs from 'src/components/Tabs';
-import { t } from '@superset-ui/core';
import { UserWithPermissionsAndRoles } from 'src/types/bootstrapTypes';
import Favorites from './Favorites';
import UserInfo from './UserInfo';
@@ -32,6 +31,11 @@ interface AppProps {
user: UserWithPermissionsAndRoles;
}
+const StyledTabPane = styled(Tabs.TabPane)`
+ background-color: ${({ theme }) => theme.colors.grayscale.light5};
+ padding: ${({ theme }) => theme.gridUnit * 4}px;
+`;
+
export default function App({ user }: AppProps) {
return (
@@ -41,7 +45,7 @@ export default function App({ user }: AppProps) {
-
@@ -49,13 +53,9 @@ export default function App({ user }: AppProps) {
}
>
-
-
-
-
-
-
-
+
+
@@ -63,13 +63,9 @@ export default function App({ user }: AppProps) {
}
>
-
-
-
-
-
-
-
+
+
@@ -77,13 +73,9 @@ export default function App({ user }: AppProps) {
}
>
-
-
-
-
-
-
-
+
+
@@ -91,12 +83,8 @@ export default function App({ user }: AppProps) {
}
>
-
-
-
-
-
-
+
+