Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ICAT
Datahub
Commits
4e1cae42
Commit
4e1cae42
authored
Aug 25, 2020
by
Axel Bocciarelli
Browse files
Move some global styles to base.css
parent
2aa6310c
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/components/Dataset/DatasetDownloadButton.js
View file @
4e1cae42
...
...
@@ -5,7 +5,6 @@ import {
getDatasetStatus
,
getDownloadURLByDatasetId
,
}
from
'
../../api/icat/icatPlus
'
;
import
'
./DatasetTable.css
'
;
export
default
class
DatasetDownloadButton
extends
React
.
Component
{
constructor
(
props
)
{
...
...
src/components/Dataset/DatasetTable.css
deleted
100644 → 0
View file @
2aa6310c
.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
;
}
src/components/Dataset/DatasetTable.js
View file @
4e1cae42
...
...
@@ -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
)
{
...
...
src/components/Dataset/DatasetWidget.js
View file @
4e1cae42
...
...
@@ -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
)
{
...
...
src/components/Logbook/event.css
View file @
4e1cae42
pre
{
white-space
:
pre-wrap
;
}
.margin-bottom-10
{
margin-bottom
:
10px
;
}
...
...
src/styles/base.css
View file @
4e1cae42
...
...
@@ -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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment