Skip to content

Commit

Permalink
Fixed style issue #202 and removed extra scroll bars
Browse files Browse the repository at this point in the history
  • Loading branch information
hsvikum committed Feb 21, 2020
1 parent e86793d commit c6ed328
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
18 changes: 10 additions & 8 deletions client/src/components/CheckboxTable/CheckboxTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,17 @@ class CheckboxTableGrid extends React.Component {

getMuiTheme = () => createMuiTheme({
overrides: {
MUIDataTable: {
root: {
backgroundColor: "green"
},
paper: {
boxShadow: "none"
MUIDataTable: {
paper: {
'& table tr td:nth-child(2)': {
position: "sticky",
zIndex: 101,
left: 0,
background: "white",
}
},
}
}
}
}
})

componentWillMount() {
Expand Down
2 changes: 1 addition & 1 deletion client/src/modules/election/ActiveElectionForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import moment from 'moment';

const styles = theme => ({
root: {
width: '90%',
width: '85%',
paddingLeft: 24
},
button: {
Expand Down
9 changes: 0 additions & 9 deletions client/src/modules/election/AllowNomination.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ import { getFieldOptions } from './state/ElectionAction';
import { connect } from 'react-redux';

const styles = theme => ({
content: {
[theme.breakpoints.up('sm')]: {
paddingLeft: theme.drawer.width,
flexShrink: 0,
paddingLeft: theme.spacing.unit

},
marginTop:-30
},
button: {
marginRight: theme.spacing.unit,
right: 0
Expand Down

0 comments on commit c6ed328

Please sign in to comment.