Move edit icon to the left on remote path mappings

Fixes: #6686
This commit is contained in:
nitsua 2021-10-30 23:31:41 -04:00 committed by bakerboy448
parent 194e0f3d7f
commit 12ae4fba88
3 changed files with 17 additions and 17 deletions

View File

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

View File

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

View File

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