mirror of
https://github.com/strapi/strapi.git
synced 2025-08-19 06:08:50 +00:00
Fix design
This commit is contained in:
parent
9a31f486e8
commit
e8f55faaff
@ -19,7 +19,7 @@ import {
|
|||||||
import Action from './Action';
|
import Action from './Action';
|
||||||
import Content from './Content';
|
import Content from './Content';
|
||||||
|
|
||||||
const PLUGINS_WITH_CONFIG = ['content-manager', 'email', 'upload'];
|
const PLUGINS_WITH_CONFIG = ['email', 'upload'];
|
||||||
|
|
||||||
class Row extends React.Component {
|
class Row extends React.Component {
|
||||||
static contextType = GlobalContext;
|
static contextType = GlobalContext;
|
||||||
@ -45,11 +45,7 @@ class Row extends React.Component {
|
|||||||
} = this.props;
|
} = this.props;
|
||||||
const { currentEnvironment } = this.context;
|
const { currentEnvironment } = this.context;
|
||||||
|
|
||||||
const settingsPath =
|
const settingsPath = `/plugins/${name}/configurations/${currentEnvironment}`;
|
||||||
name === 'content-manager'
|
|
||||||
? '/plugins/content-manager/ctm-configurations/models'
|
|
||||||
: `/plugins/${name}/configurations/${currentEnvironment}`;
|
|
||||||
|
|
||||||
const icons = [];
|
const icons = [];
|
||||||
|
|
||||||
if (PLUGINS_WITH_CONFIG.includes(name)) {
|
if (PLUGINS_WITH_CONFIG.includes(name)) {
|
||||||
|
@ -13,7 +13,6 @@ const Wrapper = styled.div`
|
|||||||
}};
|
}};
|
||||||
min-height: ${({ withLongerHeight }) => getHeight(withLongerHeight)};
|
min-height: ${({ withLongerHeight }) => getHeight(withLongerHeight)};
|
||||||
padding: 0 10px 0 0;
|
padding: 0 10px 0 0;
|
||||||
margin-right: 4px;
|
|
||||||
flex-basis: calc(100% / ${props => props.count});
|
flex-basis: calc(100% / ${props => props.count});
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
min-width: 130px;
|
min-width: 130px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user