mirror of
https://github.com/strapi/strapi.git
synced 2025-08-18 21:57:46 +00:00
Fix design
This commit is contained in:
parent
9a31f486e8
commit
e8f55faaff
@ -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)) {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user