1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-06 13:31:28 -05:00

Compare commits

...

1 Commits

Author SHA1 Message Date
nitsua
12ae4fba88 Move edit icon to the left on remote path mappings
Fixes: #6686
2021-12-26 22:19:43 -06:00
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;
}