Fixed: Move Search Tab Filter Menu Up to TabPanel

This commit is contained in:
Qstick
2019-11-01 23:08:07 -04:00
parent c08ae534c5
commit 2329ec25b9
7 changed files with 105 additions and 51 deletions

View File

@@ -6,12 +6,6 @@
}
}
.indicatorContainer {
position: absolute;
top: 10px;
right: 12px;
}
.label {
margin-left: 5px;
}

View File

@@ -1,7 +1,5 @@
import PropTypes from 'prop-types';
import React from 'react';
import classNames from 'classnames';
import { icons } from 'Helpers/Props';
import Icon from 'Components/Icon';
import MenuButton from 'Components/Menu/MenuButton';
import styles from './PageMenuButton.css';
@@ -9,8 +7,8 @@ import styles from './PageMenuButton.css';
function PageMenuButton(props) {
const {
iconName,
text,
indicator,
text,
...otherProps
} = props;
@@ -24,21 +22,6 @@ function PageMenuButton(props) {
size={18}
/>
{
indicator &&
<span
className={classNames(
styles.indicatorContainer,
'fa-layers fa-fw'
)}
>
<Icon
name={icons.CIRCLE}
size={9}
/>
</span>
}
<div className={styles.label}>
{text}
</div>