Fix design

This commit is contained in:
soupette 2019-10-25 16:05:58 +02:00 committed by Alexandre Bodin
parent 9a31f486e8
commit e8f55faaff
2 changed files with 2 additions and 7 deletions

View File

@ -19,7 +19,7 @@ import {
import Action from './Action';
import Content from './Content';
const PLUGINS_WITH_CONFIG = ['content-manager', 'email', 'upload'];
const PLUGINS_WITH_CONFIG = ['email', 'upload'];
class Row extends React.Component {
static contextType = GlobalContext;
@ -45,11 +45,7 @@ class Row extends React.Component {
} = this.props;
const { currentEnvironment } = this.context;
const settingsPath =
name === 'content-manager'
? '/plugins/content-manager/ctm-configurations/models'
: `/plugins/${name}/configurations/${currentEnvironment}`;
const settingsPath = `/plugins/${name}/configurations/${currentEnvironment}`;
const icons = [];
if (PLUGINS_WITH_CONFIG.includes(name)) {

View File

@ -13,7 +13,6 @@ const Wrapper = styled.div`
}};
min-height: ${({ withLongerHeight }) => getHeight(withLongerHeight)};
padding: 0 10px 0 0;
margin-right: 4px;
flex-basis: calc(100% / ${props => props.count});
flex-shrink: 1;
min-width: 130px;