some layout improvements

This commit is contained in:
nikk gitanes
2024-04-07 04:59:33 +03:00
parent c8f272acab
commit bf1af8d0a0
3 changed files with 12 additions and 5 deletions

View File

@@ -186,6 +186,8 @@ To run the web server locally, just run
yarn start
```
More info at https://github.com/YouROK/TorrServer/tree/master/web#readme
### Build
#### Server

View File

@@ -56,6 +56,7 @@ export default function LeftSideComponent({
margin='dense'
label={t('AddDialog.TorrentSourceLink')}
helperText={t('AddDialog.TorrentSourceOptions')}
style={{ marginTop: '1em' }}
type='text'
fullWidth
variant='outlined'

View File

@@ -79,6 +79,7 @@ export default function RightSideComponent({
value={originalTorrentTitle}
margin='dense'
label={t('AddDialog.OriginalTorrentTitle')}
style={{ marginTop: '1em' }}
type='text'
variant='outlined'
fullWidth
@@ -100,7 +101,8 @@ export default function RightSideComponent({
endAdornment: (
<InputAdornment position='end'>
<IconButton
style={{ padding: '1px' }}
size='small'
style={{ padding: '1px', marginRight: '-6px' }}
onClick={() => {
setTitle('')
setIsCustomTitleEnabled(!isCustomTitleEnabled)
@@ -108,7 +110,7 @@ export default function RightSideComponent({
setIsUserInteractedWithPoster(false)
}}
>
<HighlightOffIcon style={{ color: isCustomTitleEnabled ? primary : rgba('#ccc', 0.5) }} />
<HighlightOffIcon style={{ color: isCustomTitleEnabled ? primary : rgba('#ccc', 0.25) }} />
</IconButton>
</InputAdornment>
),
@@ -121,6 +123,7 @@ export default function RightSideComponent({
value={title}
margin='dense'
label={t('AddDialog.TitleBlank')}
style={{ marginTop: '1em' }}
type='text'
variant='outlined'
fullWidth
@@ -154,11 +157,12 @@ export default function RightSideComponent({
? () => (
<IconButton
size='small'
onClick={(e) => {
setCategory("");
style={{ padding: '1px', marginLeft: '6px', marginRight: '8px' }}
onClick={() => {
setCategory('')
}}
>
<Clear />
<HighlightOffIcon style={{ color: primary }} />
</IconButton>
)
: undefined