mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-27 02:04:22 +00:00
Fixed: Better formatting of the author books page
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
.title {
|
||||
composes: cell from '~Components/Table/Cells/TableRowCell.css';
|
||||
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.monitored {
|
||||
@@ -15,3 +13,21 @@
|
||||
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.rating {
|
||||
composes: cell from '~Components/Table/Cells/TableRowCell.css';
|
||||
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.releaseDate {
|
||||
composes: cell from '~Components/Table/Cells/TableRowCell.css';
|
||||
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.pageCount {
|
||||
composes: cell from '~Components/Table/Cells/TableRowCell.css';
|
||||
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
@@ -154,7 +154,10 @@ class BookRow extends Component {
|
||||
|
||||
if (name === 'rating') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
<TableRowCell
|
||||
key={name}
|
||||
className={styles.rating}
|
||||
>
|
||||
{
|
||||
<StarRating
|
||||
rating={ratings.value}
|
||||
@@ -168,6 +171,7 @@ class BookRow extends Component {
|
||||
if (name === 'releaseDate') {
|
||||
return (
|
||||
<RelativeDateCellConnector
|
||||
className={styles.releaseDate}
|
||||
key={name}
|
||||
date={releaseDate}
|
||||
/>
|
||||
@@ -178,6 +182,7 @@ class BookRow extends Component {
|
||||
return (
|
||||
<TableRowCell
|
||||
key={name}
|
||||
className={styles.pageCount}
|
||||
>
|
||||
{pageCount || ''}
|
||||
</TableRowCell>
|
||||
|
||||
@@ -38,10 +38,10 @@ export const defaultState = {
|
||||
isVisible: true
|
||||
},
|
||||
{
|
||||
name: 'position',
|
||||
label: 'Number',
|
||||
name: 'series',
|
||||
label: 'Series',
|
||||
isSortable: true,
|
||||
isVisible: true
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'releaseDate',
|
||||
@@ -50,26 +50,10 @@ export const defaultState = {
|
||||
isVisible: true
|
||||
},
|
||||
{
|
||||
name: 'secondaryTypes',
|
||||
label: 'Secondary Types',
|
||||
name: 'pageCount',
|
||||
label: 'Pages',
|
||||
isSortable: true,
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'mediumCount',
|
||||
label: 'Media Count',
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'bookCount',
|
||||
label: 'Book Count',
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'duration',
|
||||
label: 'Duration',
|
||||
isSortable: true,
|
||||
isVisible: false
|
||||
isVisible: true
|
||||
},
|
||||
{
|
||||
name: 'rating',
|
||||
|
||||
Reference in New Issue
Block a user