Commit 4e1cae42 authored by Axel Bocciarelli's avatar Axel Bocciarelli
Browse files

Move some global styles to base.css

parent 2aa6310c
......@@ -5,7 +5,6 @@ import {
getDatasetStatus,
getDownloadURLByDatasetId,
} from '../../api/icat/icatPlus';
import './DatasetTable.css';
export default class DatasetDownloadButton extends React.Component {
constructor(props) {
......
.dataset-table-container {
margin-top: 20px;
margin-bottom: 100px;
margin-right: 10px;
margin-left: 10px;
}
.dataset-table-row {
margin-top: 5px;
}
.selection-row {
background-color: powderblue;
}
......@@ -8,7 +8,6 @@ import { getDatasetParameterByName, stringifyBytesSize } from '../../helpers';
import ResponsiveTable from '../Table/ResponsiveTable';
import DatasetDownloadButton from './DatasetDownloadButton';
import DatasetWidget from './DatasetWidget';
import './DatasetTable.css';
class DatasetTable extends React.Component {
constructor(props) {
......
......@@ -10,7 +10,6 @@ import DatasetMetadataTab from './DatasetMetadataTab/DatasetMetadataTab';
import DatasetSummary from './DatasetSummary/DatasetSummary';
import DatasetTechniqueTab from './DatasetTechniqueTab/DatasetTechniqueTab';
import PublicationSummary from './PublicationSummary/PublicationSummary';
import './DatasetTable.css';
class DatasetWidget extends React.Component {
getDefinition(dataset) {
......
pre {
white-space: pre-wrap;
}
.margin-bottom-10 {
margin-bottom: 10px;
}
......
......@@ -20,6 +20,10 @@ h6 {
font-weight: 600;
}
pre {
white-space: pre-wrap;
}
/* Make sure footer is always at the bottom of the viewport */
#root {
display: flex;
......@@ -128,3 +132,7 @@ h6 {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.selection-row {
background-color: powderblue;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment