mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
New: Small UI tweaks and package updates
This commit is contained in:
parent
c7d17598e2
commit
d63bb77edc
11 changed files with 600 additions and 365 deletions
|
@ -41,6 +41,8 @@ const plugins = [
|
|||
})
|
||||
];
|
||||
|
||||
let babelPlugins = ['transform-class-properties', 'transform-react-jsx-source'];
|
||||
|
||||
if (isProduction) {
|
||||
plugins.push(new UglifyJSPlugin({
|
||||
sourceMap: true,
|
||||
|
@ -52,6 +54,8 @@ if (isProduction) {
|
|||
}
|
||||
}
|
||||
}));
|
||||
|
||||
babelPlugins = ['transform-class-properties', 'transform-react-remove-prop-types'];
|
||||
}
|
||||
|
||||
const config = {
|
||||
|
@ -102,14 +106,9 @@ const config = {
|
|||
test: /\.js?$/,
|
||||
exclude: /(node_modules|JsLibraries)/,
|
||||
loader: 'babel-loader',
|
||||
query: {
|
||||
plugins: ['transform-class-properties'],
|
||||
presets: ['es2015', 'decorators-legacy', 'react', 'stage-2'],
|
||||
env: {
|
||||
development: {
|
||||
plugins: ['transform-react-jsx-source']
|
||||
}
|
||||
}
|
||||
options: {
|
||||
plugins: babelPlugins,
|
||||
presets: ['env', 'decorators-legacy', 'react', 'stage-2']
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
.header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 375px;
|
||||
height: 310px;
|
||||
}
|
||||
|
||||
.backdrop {
|
||||
|
|
|
@ -496,7 +496,7 @@ class ArtistDetails extends Component {
|
|||
</div>
|
||||
<div className={styles.overview}>
|
||||
<TextTruncate
|
||||
line={Math.floor(200 / (defaultFontSize * lineHeight))}
|
||||
line={Math.floor(125 / (defaultFontSize * lineHeight))}
|
||||
text={overview}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,7 @@ module.exports = {
|
|||
breakpointExtraSmall: '480px',
|
||||
breakpointSmall: '768px',
|
||||
breakpointMedium: '992px',
|
||||
breakpointLarge: '1200px',
|
||||
breakpointLarge: '1310px',
|
||||
breakpointExtraLarge: '1450px',
|
||||
|
||||
// Form
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
.absoluteEpisodeNumber {
|
||||
margin-left: 5px;
|
||||
}
|
|
@ -6,7 +6,6 @@ import TableRow from 'Components/Table/TableRow';
|
|||
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
||||
import TableSelectCell from 'Components/Table/Cells/TableSelectCell';
|
||||
import TrackQuality from 'Album/TrackQuality';
|
||||
import styles from './TrackFileEditorRow';
|
||||
|
||||
function TrackFileEditorRow(props) {
|
||||
const {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
.episode,
|
||||
.status {
|
||||
composes: cell from 'Components/Table/Cells/TableRowCell.css';
|
||||
|
||||
|
|
|
@ -2,19 +2,16 @@ import PropTypes from 'prop-types';
|
|||
import React from 'react';
|
||||
import albumEntities from 'Album/albumEntities';
|
||||
import AlbumTitleLink from 'Album/AlbumTitleLink';
|
||||
import EpisodeStatusConnector from 'Album/EpisodeStatusConnector';
|
||||
import AlbumSearchCellConnector from 'Album/AlbumSearchCellConnector';
|
||||
import ArtistNameLink from 'Artist/ArtistNameLink';
|
||||
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
|
||||
import TableRow from 'Components/Table/TableRow';
|
||||
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
||||
import TableSelectCell from 'Components/Table/Cells/TableSelectCell';
|
||||
import styles from './MissingRow.css';
|
||||
|
||||
function MissingRow(props) {
|
||||
const {
|
||||
id,
|
||||
// trackFileId,
|
||||
artist,
|
||||
releaseDate,
|
||||
albumType,
|
||||
|
@ -111,7 +108,6 @@ function MissingRow(props) {
|
|||
|
||||
MissingRow.propTypes = {
|
||||
id: PropTypes.number.isRequired,
|
||||
// trackFileId: PropTypes.number,
|
||||
artist: PropTypes.object.isRequired,
|
||||
releaseDate: PropTypes.string.isRequired,
|
||||
foreignAlbumId: PropTypes.string.isRequired,
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<!-- Windows Phone -->
|
||||
<meta name="msapplication-navbutton-color" content="#3a3f51"/>
|
||||
|
||||
<meta name="description" content="Lidarr (Preview)">
|
||||
<meta name="description" content="Lidarr">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/Content/Images/Icons/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/Content/Images/Icons/favicon-32x32.png">
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
<link rel="stylesheet" type="text/css" href="/Content/styles.css">
|
||||
|
||||
<title>Lidarr (Preview)</title>
|
||||
<title>Lidarr</title>
|
||||
|
||||
<!--
|
||||
The super basic styling for .root will live here,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue