Move edit icon to the left on remote path mappings

Fixes: #6686
move-rpm-icons
nitsua 3 years ago committed by bakerboy448
parent 194e0f3d7f
commit 12ae4fba88

@ -1,23 +1,20 @@
.remotePathMapping { .remotePathMapping {
display: flex; display: flex;
align-items: stretch; align-items: left;
margin-bottom: 10px; margin-bottom: 10px;
height: 30px; height: 30px;
border-bottom: 1px solid $borderColor; border-bottom: 1px solid $borderColor;
line-height: 30px; line-height: 30px;
} }
.host { .actions {
flex: 0 0 300px; flex: 0 0 25px;
} }
.path { .host {
flex: 0 0 400px; flex: 1 0 300px;
} }
.actions { .path {
display: flex; flex: 1 0 400px;
justify-content: flex-end;
flex: 1 0 auto;
padding-right: 10px;
} }

@ -66,9 +66,6 @@ class RemotePathMapping extends Component {
styles.remotePathMapping styles.remotePathMapping
)} )}
> >
<div className={styles.host}>{host}</div>
<div className={styles.path}>{remotePath}</div>
<div className={styles.path}>{localPath}</div>
<div className={styles.actions}> <div className={styles.actions}>
<Link <Link
@ -78,6 +75,10 @@ class RemotePathMapping extends Component {
</Link> </Link>
</div> </div>
<div className={styles.host}>{host}</div>
<div className={styles.path}>{remotePath}</div>
<div className={styles.path}>{localPath}</div>
<EditRemotePathMappingModalConnector <EditRemotePathMappingModalConnector
id={id} id={id}
isOpen={this.state.isEditRemotePathMappingModalOpen} isOpen={this.state.isEditRemotePathMappingModalOpen}

@ -4,17 +4,19 @@
font-weight: bold; font-weight: bold;
} }
.actions {
flex: 0 0 25px;
}
.host { .host {
flex: 0 0 300px; flex: 1 0 300px;
} }
.path { .path {
flex: 0 0 400px; flex: 1 0 400px;
} }
.addRemotePathMapping { .addRemotePathMapping {
display: flex;
justify-content: flex-end;
padding-right: 10px; padding-right: 10px;
} }

Loading…
Cancel
Save