mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 07:27:46 +00:00
Fix ctb and user-permission list item spacing
This commit is contained in:
parent
415d826296
commit
a80b0e18b7
@ -105,6 +105,10 @@
|
||||
text-overflow: ellipsis;
|
||||
|
||||
}
|
||||
> i {
|
||||
align-self: center;
|
||||
margin-right: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
.descriptionContainer {
|
||||
|
||||
@ -51,8 +51,11 @@ class TableListRow extends React.Component { // eslint-disable-line react/prefer
|
||||
|
||||
return (
|
||||
<ListRow onClick={this.handleGoTo}>
|
||||
<div className="col-md-1"><i className={`fa ${this.props.rowItem.icon}`} /></div>
|
||||
<div className={`col-md-3 ${styles.italic} ${styles.nameContainer}`}><span style={{ width: spanStyle }}>{startCase(this.props.rowItem.name)} {pluginSource}</span> {temporary}</div>
|
||||
<div className={`col-md-4 ${styles.italic} ${styles.nameContainer}`}>
|
||||
<i className={`fa ${this.props.rowItem.icon}`} />
|
||||
<span style={{ width: spanStyle }}>{startCase(this.props.rowItem.name)} {pluginSource}</span>
|
||||
{temporary}
|
||||
</div>
|
||||
<div className={`col-md-5 text-center ${styles.descriptionContainer}`}>
|
||||
<div>
|
||||
{description}
|
||||
|
||||
@ -51,7 +51,7 @@ class ListRow extends React.Component { // eslint-disable-line react/prefer-stat
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={cn('row', styles.wrapper)}>
|
||||
<div className={cn('row', styles.wrapper)} style={{ paddingLeft: '20px'}}>
|
||||
<div className="col-md-2">
|
||||
<b>{this.props.item.name}</b>
|
||||
</div>
|
||||
|
||||
@ -22,11 +22,12 @@
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding-left: 7px;
|
||||
font-weight: 600;
|
||||
text-transform: capitalize;
|
||||
> div:last-child {
|
||||
width: 80%;
|
||||
margin-left: 52px;
|
||||
padding-left: 7px;
|
||||
text-align: left;
|
||||
}
|
||||
@ -46,18 +47,13 @@
|
||||
.wrapper {
|
||||
> div:first-child {
|
||||
text-align: left;
|
||||
|
||||
|
||||
}
|
||||
|
||||
> div:nth-of-type(2) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
b {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user